Lines Matching refs:object_handle
457 memory_entry(mach_vm_size_t * size, mach_port_t *object_handle) in memory_entry() argument
464 object_handle, 0); in memory_entry()
480 mach_port_t object_handle = MACH_PORT_NULL; in wrapper_mach_vm_map_named_entry() local
481 kern_return_t kr = memory_entry(&size, &object_handle); in wrapper_mach_vm_map_named_entry()
487 …kr = mach_vm_map(map, address, size, (mach_vm_offset_t)0, flags, object_handle, (memory_object_off… in wrapper_mach_vm_map_named_entry()
489 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_port_deallocate(mach_task_self(), object_handle), "mach_port_d… in wrapper_mach_vm_map_named_entry()
1735 mach_port_t object_handle = MACH_PORT_NULL; in test_mach_vm_map_protection_inheritance_error() local
1742 assert_mach_success(memory_entry(&size, &object_handle), "mach_make_memory_entry_64()"); in test_mach_vm_map_protection_inheritance_error()
1759 …kr = mach_vm_map(my_task, &address, size, mask, flag, object_handle, (memory_object_offset_t)0, FA… in test_mach_vm_map_protection_inheritance_error()
1834 mach_port_t object_handle = MACH_PORT_NULL; in test_allocate_invalid_large_size() local
1837 (MAP_MEM_NAMED_CREATE | VM_PROT_ALL), &object_handle, 0), in test_allocate_invalid_large_size()