Home
last modified time | relevance | path

Searched refs:mach_task_self (Results 1 – 19 of 19) sorted by relevance

/freebsd/tools/test/stress2/misc/
H A Dmachipc2.sh110 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 Dmachipc.sh135 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 Dauditd_darwin.c292 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 Dclient.c76 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 Dserver.c141 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 Dtsan_interceptors_mach_vm.cpp32 if (target != mach_task_self()) in TSAN_INTERCEPTOR()
45 if (target != mach_task_self()) in TSAN_INTERCEPTOR()
H A Dtsan_platform_mac.cpp140 mach_task_self(), &address, &vm_region_size, VM_REGION_EXTENDED_INFO, in RegionMemUsage()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp59 kern_return_t err = task_threads(mach_task_self(), &threads, &num_threads); in RunThread()
H A Dsanitizer_mac.cpp760 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 Dsanitizer_procmaps_mac.cpp160 vm_region_recurse_64(mach_task_self(), &address, &size, &depth, in GetDyldImageHeaderViaVMRegion()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp177 err = vm_region_recurse_64(mach_task_self(), &address, &size, &depth, in ProcessPlatformSpecificAllocations()
/freebsd/contrib/nvi/common/
H A Dutil.c348 (void)mach_port_deallocate(mach_task_self(), clk);
/freebsd/contrib/smbfs/lib/smb/
H A Dsubr.c335 err = task_for_pid(mach_task_self(), 0, &kernel_port); in kextisloaded()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc179 mach_task_self(), EXC_MASK_ALL, OriginalMasks, &Count, OriginalPorts,
184 task_set_exception_ports(mach_task_self(), OriginalMasks[i],
H A DThreading.inc116 // 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 DSignals.inc813 mach_port_t self = mach_task_self();
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-port.cc125 const task_t task = mach_task_self();
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp1422 mach_port_deallocate(mach_task_self(), hostPort); in getHostCPUName()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp2272 mach_task_self(), // Task to read memory of. in __kmp_is_address_mapped()