/freebsd/tools/test/stress2/misc/ |
H A D | machipc2.sh | 110 kerr = mach_port_allocate (mach_task_self (), function 114 kerr = mach_port_insert_right (mach_task_self (), function 245 kerr = task_set_bootstrap_port(mach_task_self(), parent_recv_port); function 252 kerr = task_get_bootstrap_port(mach_task_self(), &parent_recv_port); function 256 if (send_port(parent_recv_port, mach_task_self()) != 0) function 262 kerr = task_set_bootstrap_port(mach_task_self(), bootstrap_port); function 271 kerr = task_set_bootstrap_port(mach_task_self(), bootstrap_port); function 279 kerr = mach_port_deallocate(mach_task_self(), parent_recv_port); function
|
H A D | machipc.sh | 135 err = mach_port_allocate(mach_task_self(), function 140 err = mach_port_insert_right(mach_task_self(), function
|
/freebsd/contrib/openbsm/bin/auditd/ |
H A D | auditd_darwin.c | 292 if (mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_PORT_SET, in mach_setup() 302 if (mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in mach_setup() 304 mach_port_move_member(mach_task_self(), signal_port, port_set) != in mach_setup() 318 MACH_PORT_NULL || mach_port_move_member(mach_task_self(), in mach_setup() 330 if (mach_port_allocate(mach_task_self(), in mach_setup() 332 mach_port_move_member(mach_task_self(), control_port, in mach_setup() 339 mach_port_extract_right(mach_task_self(), control_port, in mach_setup()
|
/freebsd/crypto/heimdal/lib/ipc/ |
H A D | client.c | 76 mach_port_destroy(mach_task_self(), sport); in mach_init() 131 mach_port_deallocate(mach_task_self(), nport); in mach_ipc() 133 mach_port_deallocate(mach_task_self(), ipc->server); in mach_ipc() 148 vm_deallocate (mach_task_self (), (vm_address_t) replyout, in mach_ipc() 156 vm_deallocate (mach_task_self (), (vm_address_t) replyout, in mach_ipc() 162 vm_deallocate (mach_task_self (), (vm_address_t) replyout, in mach_ipc() 209 vm_deallocate (mach_task_self (), (vm_address_t) replyout, replyoutCnt); in mheim_ado_acall_reply() 239 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &c->mp); in mach_async() 254 mach_port_mod_refs(mach_task_self(), c->mp, in mach_async() 285 mach_port_deallocate(mach_task_self(), ipc->server); in mach_async() [all …]
|
H A D | server.c | 141 kr = vm_read(mach_task_self(), in mach_complete_sync() 178 kr = vm_read(mach_task_self(), in mach_complete_async() 341 mach_port_mod_refs(mach_task_self(), st->sport, in mach_init() 375 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &mp); in mach_checkin_or_register() 379 kr = mach_port_insert_right(mach_task_self(), mp, mp, in mach_checkin_or_register() 382 mach_port_destroy(mach_task_self(), mp); in mach_checkin_or_register() 388 mach_port_destroy(mach_task_self(), mp); in mach_checkin_or_register() 439 mach_port_mod_refs(mach_task_self(), sport, in heim_sipc_launchd_mach_init()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_mach_vm.cpp | 32 if (target != mach_task_self()) in TSAN_INTERCEPTOR() 45 if (target != mach_task_self()) in TSAN_INTERCEPTOR()
|
H A D | tsan_platform_mac.cpp | 140 mach_task_self(), &address, &vm_region_size, VM_REGION_EXTENDED_INFO, in RegionMemUsage()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_mac.cpp | 59 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads); in RunThread()
|
H A D | sanitizer_mac.cpp | 760 task_info(mach_task_self(), TASK_BASIC_INFO, (task_info_t)&info, &count); in GetRSS() 944 set_behavior(mach_task_self(), task_exc_guard_none); in DisableMmapExcGuardExceptions() 1148 int err = task_info(mach_task_self(), TASK_VM_INFO, (int *)&vm_info, &count); in GetTaskInfoMaxAddress() 1265 kr = mach_vm_region_recurse(mach_task_self(), &address, &vmsize, &depth, in FindAvailableMemoryRange()
|
H A D | sanitizer_procmaps_mac.cpp | 160 vm_region_recurse_64(mach_task_self(), &address, &size, &depth, in GetDyldImageHeaderViaVMRegion()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common_mac.cpp | 177 err = vm_region_recurse_64(mach_task_self(), &address, &size, &depth, in ProcessPlatformSpecificAllocations()
|
/freebsd/contrib/nvi/common/ |
H A D | util.c | 348 (void)mach_port_deallocate(mach_task_self(), clk);
|
/freebsd/contrib/smbfs/lib/smb/ |
H A D | subr.c | 335 err = task_for_pid(mach_task_self(), 0, &kernel_port); in kextisloaded()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Process.inc | 179 mach_task_self(), EXC_MASK_ALL, OriginalMasks, &Count, OriginalPorts, 184 task_set_exception_ports(mach_task_self(), OriginalMasks[i],
|
H A D | Threading.inc | 116 // port, so we need to deallocate it. mach_task_self() doesn't bump the ref 120 mach_port_deallocate(mach_task_self(), Self);
|
H A D | Signals.inc | 813 mach_port_t self = mach_task_self();
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-port.cc | 125 const task_t task = mach_task_self();
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | Host.cpp | 1422 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 2272 mach_task_self(), // Task to read memory of. in __kmp_is_address_mapped()
|