Lines Matching refs:out_handle
57 ipc_port_t out_handle; in make_a_mem_object() local
58 …memory_entry_64((host_t)1, /*internal=*/ true, size, VM_PROT_READ | VM_PROT_WRITE, 0, &out_handle); in make_a_mem_object()
60 return out_handle; in make_a_mem_object()
1030 mach_port_t out_handle) in check_mach_memory_entry_outparam_changes() argument
1039 if (out_handle != 0) { in check_mach_memory_entry_outparam_changes()
1052 mach_port_t out_handle = invalid_handle_value; \
1054 VM_PROT_READ | MAP_MEM_ONLY, &out_handle, memobject); \
1056 if (out_handle) mach_memory_entry_port_release(out_handle); \
1059 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \
1069 mach_port_t out_handle = invalid_handle_value; \
1071 VM_PROT_READ | MAP_MEM_NAMED_CREATE, &out_handle, memobject); \
1073 if (out_handle) mach_memory_entry_port_release(out_handle); \
1076 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \
1086 mach_port_t out_handle = invalid_handle_value; \
1088 VM_PROT_READ | MAP_MEM_VM_COPY, &out_handle, memobject); \
1090 if (out_handle) mach_memory_entry_port_release(out_handle); \
1093 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \
1103 mach_port_t out_handle = invalid_handle_value; \
1105 VM_PROT_READ | MAP_MEM_VM_SHARE, &out_handle, memobject); \
1107 if (out_handle) mach_memory_entry_port_release(out_handle); \
1110 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \
1120 mach_port_t out_handle = invalid_handle_value; \
1122 VM_PROT_READ | MAP_MEM_NAMED_REUSE, &out_handle, memobject); \
1124 if (out_handle) mach_memory_entry_port_release(out_handle); \
1127 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \
1137 mach_port_t out_handle = invalid_handle_value; \
1139 prot, &out_handle, memobject); \
1141 if (out_handle) mach_memory_entry_port_release(out_handle); \
1144 check_mach_memory_entry_outparam_changes(&kr, io_size, out_handle); \