Lines Matching refs:object_handle
460 memory_entry(mach_vm_size_t * size, mach_port_t *object_handle) in memory_entry() argument
467 object_handle, 0); in memory_entry()
483 mach_port_t object_handle = MACH_PORT_NULL; in wrapper_mach_vm_map_named_entry() local
484 kern_return_t kr = memory_entry(&size, &object_handle); in wrapper_mach_vm_map_named_entry()
490 …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()
492 …assert_mach_success(mach_port_deallocate(mach_task_self(), object_handle), "mach_port_deallocate()… in wrapper_mach_vm_map_named_entry()
1808 mach_port_t object_handle = MACH_PORT_NULL; in test_mach_vm_map_protection_inheritance_error() local
1815 assert_mach_success(memory_entry(&size, &object_handle), "mach_make_memory_entry_64()"); in test_mach_vm_map_protection_inheritance_error()
1826 …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()
1899 mach_port_t object_handle = MACH_PORT_NULL; in test_allocate_invalid_large_size() local
1902 (MAP_MEM_NAMED_CREATE | VM_PROT_ALL), &object_handle, 0), in test_allocate_invalid_large_size()