Lines Matching refs:memobject

1049 	        mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1);          \
1054 VM_PROT_READ | MAP_MEM_ONLY, &out_handle, memobject); \
1058 mach_memory_entry_port_release(memobject); \
1066 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); \
1071 VM_PROT_READ | MAP_MEM_NAMED_CREATE, &out_handle, memobject); \
1075 mach_memory_entry_port_release(memobject); \
1083 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); \
1088 VM_PROT_READ | MAP_MEM_VM_COPY, &out_handle, memobject); \
1092 mach_memory_entry_port_release(memobject); \
1100 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); \
1105 VM_PROT_READ | MAP_MEM_VM_SHARE, &out_handle, memobject); \
1109 mach_memory_entry_port_release(memobject); \
1117 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); \
1122 VM_PROT_READ | MAP_MEM_NAMED_REUSE, &out_handle, memobject); \
1126 mach_memory_entry_port_release(memobject); \
1134 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); \
1139 prot, &out_handle, memobject); \
1143 mach_memory_entry_port_release(memobject); \
1217 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed() local
1220 memobject, KB16, false, VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_DEFAULT); in call_map_fn__memobject_fixed()
1222 mach_memory_entry_port_release(memobject); in call_map_fn__memobject_fixed()
1229 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed_copy() local
1232 memobject, KB16, true, VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_DEFAULT); in call_map_fn__memobject_fixed_copy()
1234 mach_memory_entry_port_release(memobject); in call_map_fn__memobject_fixed_copy()
1241 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_anywhere() local
1243 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_ANYWHERE, memobject, in call_map_fn__memobject_anywhere()
1248 mach_memory_entry_port_release(memobject); in call_map_fn__memobject_anywhere()
1255 mach_port_t memobject = make_a_mem_object(obj_size); in helper_call_map_fn__memobject__ssoo() local
1257 kern_return_t kr = fn(map, &out_addr, size, 0, flags, memobject, in helper_call_map_fn__memobject__ssoo()
1260 mach_memory_entry_port_release(memobject); in helper_call_map_fn__memobject__ssoo()
1313 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in help_call_map_fn__memobject__inherit() local
1316 memobject, KB16, copy, VM_PROT_DEFAULT, VM_PROT_DEFAULT, inherit); in help_call_map_fn__memobject__inherit()
1318 mach_memory_entry_port_release(memobject); in help_call_map_fn__memobject__inherit()
1361 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject__flags() local
1363 memobject, KB16, false, VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_DEFAULT); in call_map_fn__memobject__flags()
1365 mach_memory_entry_port_release(memobject); in call_map_fn__memobject__flags()
1372 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_copy__flags() local
1374 memobject, KB16, true, VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_DEFAULT); in call_map_fn__memobject_copy__flags()
1376 mach_memory_entry_port_release(memobject); in call_map_fn__memobject_copy__flags()
1411 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in help_call_map_fn__memobject__prot_pairs() local
1414 memobject, KB16, copy, cur, max, VM_INHERIT_DEFAULT); in help_call_map_fn__memobject__prot_pairs()
1416 mach_memory_entry_port_release(memobject); in help_call_map_fn__memobject__prot_pairs()
1699 IMPL_MAP_FN_START_SIZE_FLAGS(map_fn, memobject) \