| /xnu-11417.101.15/tests/ |
| H A D | mach_port_mod_refs.c | 11 T_DECL(mach_port_mod_refs, "mach_port_mod_refs", T_META_TAG_VM_PREFERRED){ 37 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_SEND, -1); 41 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_SEND_ONCE, -1); 45 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_PORT_SET, -1); 49 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_DEAD_NAME, -1); 53 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_LABELH, -1); 57 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_NUMBER, -1); 61 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_NUMBER + 1, -1); 66 ret = mach_port_mod_refs(mach_task_self(), port_set, MACH_PORT_RIGHT_SEND, -1); 70 ret = mach_port_mod_refs(mach_task_self(), port_set, MACH_PORT_RIGHT_SEND_ONCE, -1); [all …]
|
| H A D | work_interval_test.c | 220 mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_SEND, -1); 236 mach_port_mod_refs(mach_task_self(), fake_port, MACH_PORT_RIGHT_SEND, -1); 237 mach_port_mod_refs(mach_task_self(), fake_port, MACH_PORT_RIGHT_RECEIVE, -1);
|
| H A D | ipc_mach_port.c | 68 kr = mach_port_mod_refs(mach_task_self(), port, in destroy_port() 73 kr = mach_port_mod_refs(mach_task_self(), port, in destroy_port()
|
| H A D | ioconnectasyncmethod_57641955.c | 28 mach_port_mod_refs(mach_task_self(), wakePort, MACH_PORT_RIGHT_RECEIVE, -1);
|
| H A D | mach_port_deallocate_21692215.c | 34 ret = mach_port_mod_refs(mach_task_self(), port[i], MACH_PORT_RIGHT_RECEIVE, -1);
|
| H A D | imm_pinned_control_port_crasher.c | 67 kern_return_t kr = mach_port_mod_refs(mach_task_self(), thread_self, MACH_PORT_RIGHT_SEND, -2); in pinned_test_main_thread_mod_ref() 110 …kern_return_t kr = mach_port_mod_refs(mach_task_self(), mach_task_self(), MACH_PORT_RIGHT_SEND, -2… in pinned_test_task_self_mod_ref() 128 kr = mach_port_mod_refs(mach_task_self(), th_list[0], MACH_PORT_RIGHT_SEND, -1); in pinned_test_task_threads_mod_ref()
|
| H A D | prioritize_process_launch.c | 611 kr = mach_port_mod_refs(mach_task_self(), sr_port, MACH_PORT_RIGHT_RECEIVE, -1); 639 kr = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); 790 kr = mach_port_mod_refs(mach_task_self(), sync_port, MACH_PORT_RIGHT_SEND, 1);
|
| H A D | extract_right_soft_fail.c | 73 kr = mach_port_mod_refs(tport, tport_name, MACH_PORT_RIGHT_SEND, -table[tport_idx].iin_urefs); in test_extract_immovable_task_port()
|
| H A D | kqueue_port_tests.c | 162 T_EXPECT_MACH_SUCCESS(mach_port_mod_refs(mach_task_self(), pset,
|
| H A D | mach_service_port.c | 259 kr = mach_port_mod_refs(mach_task_self(), service_port_2, MACH_PORT_RIGHT_RECEIVE, -1);
|
| H A D | mach_eventlink.c | 468 kr = mach_port_mod_refs(mach_task_self(), port_pair[0], MACH_PORT_RIGHT_SEND, 2); 502 kr = mach_port_mod_refs(mach_task_self(), port_pair[1], MACH_PORT_RIGHT_SEND, 2);
|
| H A D | mach_exception_reply.c | 303 kr = mach_port_mod_refs(mach_task_self(), voucher, in handle_exceptions()
|
| H A D | memorystatus_zone_test.c | 228 ret = mach_port_mod_refs(mach_task_self(), give_back[j], MACH_PORT_RIGHT_RECEIVE, -1); in allocate_from_generic_zone()
|
| /xnu-11417.101.15/libsyscall/mach/ |
| H A D | mach_right.c | 117 kr = mach_port_mod_refs(mach_task_self(), s.mrs_name, in mach_right_send_retain() 142 kr = mach_port_mod_refs(mach_task_self(), s.mrs_name, in mach_right_send_release() 148 kr = mach_port_mod_refs(mach_task_self(), s.mrs_name, in mach_right_send_release() 174 kr = mach_port_mod_refs(mach_task_self(), so.mrso_name, in mach_right_send_once_consume() 180 kr = mach_port_mod_refs(mach_task_self(), so.mrso_name, in mach_right_send_once_consume()
|
| H A D | mig_reply_port.c | 90 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); in mig_dealloc_reply_port()
|
| H A D | add_attributes_to_mig.txt | 84 "mach_port_destruct(), mach_port_deallocate() or mach_port_mod_refs()",
|
| H A D | mach_port.c | 156 mach_port_mod_refs( in mach_port_mod_refs() function 491 kr = mach_port_mod_refs(mach_task_self(), srp, MACH_PORT_RIGHT_SEND, 1); in mach_sync_ipc_link_monitoring_start()
|
| H A D | mach_msg.c | 344 (void) mach_port_mod_refs(mach_task_self_, port, in mach_msg_destroy_port()
|
| /xnu-11417.101.15/tests/vm_memory_tests_src/ |
| H A D | server.c | 40 mach_port_mod_refs(mach_task_self(), persistentReplyPort, MACH_PORT_RIGHT_SEND, 1); in main()
|
| /xnu-11417.101.15/libsyscall/wrappers/ |
| H A D | work_interval.c | 262 kern_return_t kr = mach_port_mod_refs(mach_task_self(), wi_port, in work_interval_copy_port()
|
| /xnu-11417.101.15/osfmk/device/ |
| H A D | iokit_rpc.c | 383 return mach_port_mod_refs( task->itk_space, name, MACH_PORT_RIGHT_SEND, delta ); in iokit_mod_send_right()
|
| /xnu-11417.101.15/osfmk/mach/ |
| H A D | mach_port.defs | 160 * Just like mach_port_mod_refs -1, but deduces the 205 routine mach_port_mod_refs(
|
| /xnu-11417.101.15/osfmk/ipc/ |
| H A D | mach_kernelrpc.c | 200 rv = mach_port_mod_refs(task->itk_space, in _kernelrpc_mach_port_mod_refs_trap()
|
| /xnu-11417.101.15/tools/tests/MPMMTest/ |
| H A D | MPMMtest.c | 579 ret = mach_port_mod_refs(mach_task_self(), args->set[ns], MACH_PORT_RIGHT_PORT_SET, -1); in server()
|
| /xnu-11417.101.15/doc/mach_ipc/ |
| H A D | guard_exceptions.md | 81 arcane `mach_port_mod_refs` API being misused. We recommend using
|