Home
last modified time | relevance | path

Searched refs:IPC_PORT_NULL (Results 1 – 25 of 28) sorted by relevance

12

/xnu-11215.1.10/osfmk/ipc/
H A Dipc_eventlink.c267 ipc_port_t ipc_eventlink_port = IPC_PORT_NULL; in ipc_eventlink_destroy_internal()
268 ipc_port_t ipc_eventlink_port_remote = IPC_PORT_NULL; in ipc_eventlink_destroy_internal()
301 assert(ipc_eventlink_port != IPC_PORT_NULL); in ipc_eventlink_destroy_internal()
305 assert(ipc_eventlink_port_remote != IPC_PORT_NULL); in ipc_eventlink_destroy_internal()
313 assert(temp_ipc_eventlink->el_port != IPC_PORT_NULL); in ipc_eventlink_destroy_internal()
314 temp_ipc_eventlink->el_port = IPC_PORT_NULL; in ipc_eventlink_destroy_internal()
H A Dmach_kernelrpc.c119 args->mask, args->flags, IPC_PORT_NULL, 0, FALSE, in _kernelrpc_mach_vm_map_trap()
482 ipc_port_t voucher_port = IPC_PORT_NULL; in host_create_mach_voucher_trap()
672 if (*portp == IPC_PORT_NULL) { in task_dyld_process_info_notify_get_trap()
678 sright = IPC_PORT_NULL; in task_dyld_process_info_notify_get_trap()
681 *portp = IPC_PORT_NULL; in task_dyld_process_info_notify_get_trap()
692 copyout_ports[i] = IPC_PORT_NULL; in task_dyld_process_info_notify_get_trap()
H A Dipc_port.c1851 special_reply_port->ip_sync_inheritor_port != IPC_PORT_NULL) { in ipc_port_link_special_reply_port()
2016 ipc_port_t dest_port = IPC_PORT_NULL; in ipc_port_adjust_special_reply_port_locked()
2075 special_reply_port->ip_sync_inheritor_port = IPC_PORT_NULL; in ipc_port_adjust_special_reply_port_locked()
3453 if (port == IPC_PORT_NULL) { in ipc_port_update_qos_n_iotier()
H A Dipc_port.h294 #define IP_NULL IPC_PORT_NULL
/xnu-11215.1.10/osfmk/vm/
H A Dvm_tests.c901 mem_entry = IPC_PORT_NULL; in vm_test_map_copy_adjust_to_target()
904 &mem_entry, IPC_PORT_NULL); in vm_test_map_copy_adjust_to_target()
1558 …try(VM_MAP_NULL, &throwaway_size, alloced_addr, VM_PROT_DEFAULT, &mem_entry_result, IPC_PORT_NULL); in vm_map_null_tests()
1561 …_MAP_NULL, &throwaway_size32_u, alloced_addr32, VM_PROT_DEFAULT, &mem_entry_result, IPC_PORT_NULL); in vm_map_null_tests()
1564 …(VM_MAP_NULL, &throwaway_size_ut, alloced_addr, VM_PROT_DEFAULT, &mem_entry_result, IPC_PORT_NULL); in vm_map_null_tests()
1567 …_64(VM_MAP_NULL, &throwaway_size, alloced_addr, VM_PROT_DEFAULT, &mem_entry_result, IPC_PORT_NULL); in vm_map_null_tests()
1570 …mory_entry(VM_MAP_NULL, &vm_size, alloced_addr, VM_PROT_DEFAULT, &mem_entry_result, IPC_PORT_NULL); in vm_map_null_tests()
1594 …kr = mach_vm_map(VM_MAP_NULL, &throwaway_addr, size_16kb, 0, VM_FLAGS_ANYWHERE, IPC_PORT_NULL, 0, … in vm_map_null_tests()
1596 …nal(VM_MAP_NULL, &throwaway_addr_ut, size_16kb, 0, VM_FLAGS_ANYWHERE, IPC_PORT_NULL, 0, false, VM_… in vm_map_null_tests()
1600 …kr = vm_map(VM_MAP_NULL, &vm_throwaway_addr, size_16kb, 0, VM_FLAGS_ANYWHERE, IPC_PORT_NULL, 0, fa… in vm_map_null_tests()
[all …]
H A Dvm_shared_region.c687 mem_entry_port = IPC_PORT_NULL; in vm_shared_region_create()
955 shared_region->sr_mem_entry = IPC_PORT_NULL; in vm_shared_region_destroy()
3555 SECURITY_READ_ONLY_LATE(ipc_port_t) commpage32_handle = IPC_PORT_NULL;
3556 SECURITY_READ_ONLY_LATE(ipc_port_t) commpage64_handle = IPC_PORT_NULL;
3562 SECURITY_READ_ONLY_LATE(ipc_port_t) commpage_text32_handle = IPC_PORT_NULL;
3563 SECURITY_READ_ONLY_LATE(ipc_port_t) commpage_text64_handle = IPC_PORT_NULL;
3738 assert(commpage_handle != IPC_PORT_NULL); in vm_commpage_enter()
3762 assert(commpage_text_handle != IPC_PORT_NULL); in vm_commpage_enter()
3796 IPC_PORT_NULL, in vm_commpage_enter()
H A Dvm_memory_entry.c323 *object_handle = IPC_PORT_NULL; in mach_make_memory_entry_named_create()
/xnu-11215.1.10/osfmk/kern/
H A Dexception.c201 ipc_port_t exc_port = IPC_PORT_NULL; in exception_deliver()
210 ipc_port_t thread_port = IPC_PORT_NULL, in exception_deliver()
211 task_port = IPC_PORT_NULL, in exception_deliver()
212 task_token_port = IPC_PORT_NULL; in exception_deliver()
H A Dipc_mig.c343 ipc_port_t dest = IPC_PORT_NULL; in kernel_mach_msg_rpc_common()
490 dest = IPC_PORT_NULL; in kernel_mach_msg_rpc_common()
H A Dclock_oldops.c169 .cl_service = IPC_PORT_NULL,
173 .cl_service = IPC_PORT_NULL,
H A Dexclaves.c318 kr = exclaves_endpoint_call_internal(IPC_PORT_NULL, identifier); in _exclaves_ctl_trap()
794 assert(port == IPC_PORT_NULL); in exclaves_endpoint_call()
1066 assert(port == IPC_PORT_NULL); in exclaves_endpoint_call_internal()
H A Dtask.c6394 if (*portp != IPC_PORT_NULL && !ip_active(*portp)) { in task_dyld_process_info_notify_register()
6396 *portp = IPC_PORT_NULL; in task_dyld_process_info_notify_register()
6402 if (*portp != IPC_PORT_NULL) { in task_dyld_process_info_notify_register()
6417 if (*portp == IPC_PORT_NULL) { in task_dyld_process_info_notify_register()
6513 assert(sright != IPC_PORT_NULL); in task_dyld_process_info_notify_deregister()
6529 *portp = IPC_PORT_NULL; in task_dyld_process_info_notify_deregister()
6531 } else if ((*portp != IPC_PORT_NULL && !ip_active(*portp))) { in task_dyld_process_info_notify_deregister()
6533 *portp = IPC_PORT_NULL; in task_dyld_process_info_notify_deregister()
6536 if (*portp != IPC_PORT_NULL) { in task_dyld_process_info_notify_deregister()
H A Dexclaves_resource.c715 ipc_port_t port = IPC_PORT_NULL; in exclaves_resource_from_port_name()
H A Dipc_tt.c1575 if (port != IPC_PORT_NULL) { in thread_get_kernel_special_reply_port()
/xnu-11215.1.10/bsd/security/audit/
H A Daudit_session.c929 se->se_port = IPC_PORT_NULL; in audit_session_new()
1231 ipc_port_t sendport = IPC_PORT_NULL; in audit_session_self()
1256 if (se->se_port == IPC_PORT_NULL) { in audit_session_self()
1302 ipc_port_t sendport = IPC_PORT_NULL; in audit_session_port()
1363 if (se->se_port == IPC_PORT_NULL) { in audit_session_port()
1438 if (port != IPC_PORT_NULL) { in audit_session_join_internal()
1483 ipc_port_t port = IPC_PORT_NULL; in audit_session_join()
/xnu-11215.1.10/bsd/dev/dtrace/
H A Ddtrace_ptss.c189 VM_MAP_KERNEL_FLAGS_ANYWHERE(), IPC_PORT_NULL, 0, FALSE, in dtrace_ptss_allocate_page()
/xnu-11215.1.10/osfmk/mach/
H A Dport.h146 #define IPC_PORT_NULL __unsafe_forge_single(ipc_port_t, NULL) macro
/xnu-11215.1.10/bsd/kern/
H A Dkern_proc.c5465 (tfpport != IPC_PORT_NULL)) { in task_for_pid()
5520 if (tfpport != IPC_PORT_NULL) { in task_for_pid()
5705 (tfpport != IPC_PORT_NULL)) { in task_inspect_for_pid()
5743 if (tfpport != IPC_PORT_NULL) { in task_inspect_for_pid()
5827 (tfpport != IPC_PORT_NULL)) { in task_read_for_pid()
5865 if (tfpport != IPC_PORT_NULL) { in task_read_for_pid()
5917 (tfpport != IPC_PORT_NULL)) { in pid_suspend()
5957 if (tfpport != IPC_PORT_NULL) { in pid_suspend()
6046 (tfpport != IPC_PORT_NULL)) { in debug_control_port_for_pid()
6090 if (tfpport != IPC_PORT_NULL) { in debug_control_port_for_pid()
[all …]
H A Dposix_shm.c862 IPC_PORT_NULL, in pshm_mmap()
H A Dsysv_shm.c496 IPC_PORT_NULL, in shmat()
H A Dkern_mman.c791 IPC_PORT_NULL, 0, FALSE, in mmap()
H A Dkern_descrip.c5865 if (fileport == IPC_PORT_NULL) { in sys_fileport_makeport()
5987 ipc_port_t port = IPC_PORT_NULL; in sys_fileport_makefd()
6001 if (IPC_PORT_NULL != port) { in sys_fileport_makefd()
H A Dkern_exec.c2951 if (IPC_PORT_NULL != port) { in exec_handle_file_actions()
7658 mach_port_t port = IPC_PORT_NULL; in process_signature()
7905 if (port != IPC_PORT_NULL) { in process_signature()
H A Dmach_loader.c1903 IPC_PORT_NULL, in map_segment()
/xnu-11215.1.10/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp456 IPC_PORT_NULL, in mapOverwrite()
550 IPC_PORT_NULL, in OSDefineMetaClassAndFinalStructors()

12