Home
last modified time | relevance | path

Searched refs:mach_port_insert_right (Results 1 – 25 of 45) sorted by relevance

12

/xnu-12377.41.6/tests/
H A Dmach_port_insert_right.c23 T_DECL(mach_port_insert_right, "insert send right for an existing right", T_META_CHECK_LEAKS(false))
37 retval = mach_port_insert_right(task, port, port, MACH_MSG_TYPE_MAKE_SEND);
44 retval = mach_port_insert_right(task, name, port, MACH_MSG_TYPE_MAKE_SEND);
49 retval = mach_port_insert_right(task, name, port, MACH_MSG_TYPE_MAKE_SEND);
59 retval = mach_port_insert_right(task, name, port2, MACH_MSG_TYPE_MAKE_SEND);
H A Dexception_ports_info.c56 kr = mach_port_insert_right(mach_task_self(), exc_port1, exc_port1, MACH_MSG_TYPE_MAKE_SEND);
58 kr = mach_port_insert_right(mach_task_self(), exc_port2, exc_port2, MACH_MSG_TYPE_MAKE_SEND);
60 kr = mach_port_insert_right(mach_task_self(), exc_port3, exc_port3, MACH_MSG_TYPE_MAKE_SEND);
H A Dregression_17272465.c17 …T_ASSERT_MACH_SUCCESS(mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND…
H A Dimmovable_send.c115 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
139 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in create_exception_port()
H A Dexc_guard_helper_test_unexpected.c102 kr = mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND);
H A Dport_table_limits.c139 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
226 kret = mach_port_insert_right(task, rn_port, rn_port, MACH_MSG_TYPE_MAKE_SEND); in create_resource_notify_port()
H A Dprioritize_process_launch.c236 kr = mach_port_insert_right(mach_task_self(), in get_sync_push_port_at_qos()
264 kr = mach_port_insert_right(mach_task_self(), in create_port_and_copyin_a_port()
783 kr = mach_port_insert_right(mach_task_self(),
H A Dexc_resource_threads.c96 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE… in exc_handler()
H A Dport_table_limits_client.c83 ret = mach_port_insert_right(mach_task_self(), reply_port, reply_port, MACH_MSG_TYPE_MAKE_SEND ); in connect_to_server()
H A Dhw_breakpoint_step_arm64.c96 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE… in exc_handler()
H A Dexc_guard_helper_test.c267 kr = mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND);
H A Dwork_interval_test.c230 ret = mach_port_insert_right(mach_task_self(), fake_port, fake_port, MACH_MSG_TYPE_MAKE_SEND);
H A Dreply_port_defense_client.c45 kr = mach_port_insert_right(mach_task_self(), server_port, server_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_server_port()
187 …kr = mach_port_insert_right(mach_task_self(), reply_port, reply_port, MACH_MSG_TYPE_MAKE_SEND_ONCE… in test_make_send_once_right()
H A Dprioritize_process_launch_helper.c222 kr = mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND); in main()
H A Dmo_immovable_receive.c76 ret = mach_port_insert_right(mach_task_self(), args->server_port, args->server_port, in server_setup()
/xnu-12377.41.6/tests/ipc/
H A Dport_api.c28 kr = mach_port_insert_right(mach_task_self(), pset, pset,
H A Dimm_pinned_control_port.c204 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_exception_port()
227 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_… in test_immovable_port_stashing()
H A Dmach_msg2.c309 kr = mach_port_insert_right(mach_task_self(), rcv_port, rcv_port, MACH_MSG_TYPE_MAKE_SEND);
429 kr = mach_port_insert_right(mach_task_self(), sr_port, sr_port, MACH_MSG_TYPE_MAKE_SEND);
577 kr = mach_port_insert_right(mach_task_self(), sr_port, sr_port, MACH_MSG_TYPE_MAKE_SEND);
H A Dipc_utils.c51 kern_return_t kr = mach_port_insert_right(mach_task_self(), receive_port, in ipc_insert_send_right()
H A Dmach_exc_port_substitute.c143 kret = mach_port_insert_right(task, exc_port, exc_port, MACH_MSG_TYPE_MAKE_SEND); in alloc_exception_port()
H A Dport_type_policy.c168 kr = mach_port_insert_right(mach_task_self(), port, port, MACH_MSG_TYPE_MAKE_SEND); in get_send_receive_right()
818 kr = mach_port_insert_right(mach_task_self(), prp, prp,
/xnu-12377.41.6/libsyscall/mach/
H A Dmach_right.c104 kr = mach_port_insert_right(mach_task_self(), r.mrr_name, r.mrr_name, in mach_right_send_create()
/xnu-12377.41.6/tests/vm_memory_tests_src/
H A Dmain.c104 …T_ASSERT_POSIX_ZERO(mach_port_insert_right(mach_task_self(), replyPort, replyPort, MACH_MSG_TYPE_M… in mach_client()
/xnu-12377.41.6/tests/vm/
H A Dtest_vm_no_pager.m247 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE…
248 T_EXPECT_MACH_SUCCESS(kret, "mach_port_insert_right: %s (%d)", mach_error_string(kret), kret);
H A Dmemorystatus_rearm.c249 …kret = mach_port_insert_right(mach_task_self(), exception_port, exception_port, MACH_MSG_TYPE_MAKE… in exc_handler_thread()

12