Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/ipc/
H A Dmach_port_construct_errors.c59 kern_return_t kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port);
77 kr = mach_port_construct(mach_task_self(), &conn_opts, 0x0, &port);
84 kr = mach_port_construct(mach_task_self(), &conn_opts, 0x0, &port);
94 kr = mach_port_construct(mach_task_self(), &qlimit_opts, 0x0, &port);
105 kr = mach_port_construct(mach_task_self(), &unknown_flags_opts, 0x0, &port);
124 (void)mach_port_construct(mach_task_self(), &opts, 0x0, &port);
143 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port);
H A Dimmovable_rights.c20 kr = mach_port_construct(mach_task_self(), &opts, 0x10, &imm_port);
34 kr = mach_port_construct(mach_task_self(), &opts2, 0, &imm_port2);
H A Dport_type_policy.c249 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port); in create_conn_with_port_array_port()
263 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port); in create_exception_port()
280 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &conn_port); in create_connection_port()
296 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port); in create_reply_port()
312 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port); in create_provisional_reply_port()
334 kr = mach_port_construct(mach_task_self(), &opts, 0x0, &port); in create_service_port()
H A Dhardened_exceptions.c132 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &exc_port); in create_hardened_exception_port()
H A Dsys_perf_notify_test.c139 ret = mach_port_construct(task, &opts, 0ull, &exc_port); in run_test()
H A Dmach_msg_transport.c39 kr = mach_port_construct(mach_task_self(), &opts, DEFAULT_CONTEXT, &name); in t_port_construct_full()
/xnu-12377.1.9/tests/
H A Dmach_service_port.c67 kr = mach_port_construct(mach_task_self(), &opts, SP_CONTEXT, &service_port);
75 kr = mach_port_construct(mach_task_self(), &opts2, 0x0, &connection_port);
182 kr = mach_port_construct(mach_task_self(), &opts, SP_CONTEXT, &service_port_2);
190 kr = mach_port_construct(mach_task_self(), &opts2, SP_CONTEXT, &service_port_2);
197 kr = mach_port_construct(mach_task_self(), &opts3, SP_CONTEXT, &fake_service_port);
209 kr = mach_port_construct(mach_task_self(), &opts4, 0x0, &connection_port);
232 kr = mach_port_construct(mach_task_self(), &opts, 0, &service_port_2);
243 kr = mach_port_construct(mach_task_self(), &opts3, 0x0, &connection_port);
H A Dreply_port_defense_client.c60 kr = mach_port_construct(mach_task_self(), &opts, 0, &reply_port); in alloc_reply_port()
77 kr = mach_port_construct(mach_task_self(), &opts, 0, &reply_port); in alloc_weak_reply_port()
100 kr = mach_port_construct(mach_task_self(), &opts, 0, &service_port); in alloc_service_port()
122 kr = mach_port_construct(mach_task_self(), &opts, 0, &weak_service_port); in alloc_weak_service_port()
294 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &exc_port); in exception_ports_crash()
399 kr = mach_port_construct(mach_task_self(), &opts, 0, &notify_port); in test_reply_port_port_destroyed_notification_policy()
421 kr = mach_port_construct(mach_task_self(), &opts, 0, &notify_port); in test_reply_port_no_senders_notification_policy()
511 kr = mach_port_construct(mach_task_self(), &opts, 0, &port); in test_move_newly_constructed_port_immovable_send()
H A Dvoucher_entry_18826844.c55 T_ASSERT_MACH_SUCCESS(mach_port_construct(mach_task_self(),
77 T_ASSERT_MACH_SUCCESS(mach_port_construct(mach_task_self(),
H A Dbootstrap_msgfilter.c52 kern_return_t kr = mach_port_construct(mach_task_self(), &port_opts,
H A Dkqueue_port_tests.c96 kr = mach_port_construct(mach_task_self(), &opts, 0, &mp);
H A Dipc_mach_port.c57 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &port); in make_sr_port()
H A Dmo_immovable_receive.c172 ret = mach_port_construct(mach_task_self(), &opts, 0x10, &guarded_port); in client()
H A Dturnstile_multihop.c760 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &conn_port); in thread_at_maintenance()
H A Dstackshot_tests.m1891 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &conn_port);
1892 T_QUIET; T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct");
2136 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &conn_port);
2137 T_QUIET; T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct");
2142 kr = mach_port_construct(mach_task_self(), &opts2, 0ull, &reply_port);
2143 T_QUIET; T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct");
2266 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &service_port);
2267 T_ASSERT_MACH_SUCCESS(kr, "mach_port_construct %u", service_port);
H A Dkevent_qos.c1567 kr = mach_port_construct(mach_task_self(), &opts, 0ull, &conn_port); in qos_client_send_to_connection_then_service_port()
/xnu-12377.1.9/doc/mach_ipc/
H A Dport_types.md37 - pass `MPO_SERVICE_PORT` to `mach_port_construct`
56 - pass `MPO_WEAK_SERVICE_PORT` to `mach_port_construct`
68 - pass `MPO_CONNECTION_PORT` to `mach_port_construct`
83 - pass `MPO_CONNECTION_PORT_WITH_PORT_ARRAY` to `mach_port_construct`
101 - pass `MPO_EXCEPTION_PORT` to `mach_port_construct`
122 - pass `MPO_REPLY_PORT` to `mach_port_construct`
149 - pass `MPO_PROVISIONAL_REPLY_PORT` to `mach_port_construct`
H A Dguard_exceptions.md112 `mach_port_construct()`,
280 - **Target meaning**: The `mpo_flags_t` that were passed into `mach_port_construct`
/xnu-12377.1.9/libsyscall/mach/
H A Dmig_reply_port.c73 kr = mach_port_construct(mach_task_self(), &opts, NULL, &port); in mig_get_reply_port()
H A Dmach_right.c70 kr = mach_port_construct(mach_task_self(), &opts, ctx, &p); in mach_right_recv_construct()
H A Dmach_port.c658 mach_port_construct( in mach_port_construct() function
/xnu-12377.1.9/tests/workq/
H A Dworkq_83476290.c27 kr = mach_port_construct(mach_task_self(), &opts, 0, &mp);
/xnu-12377.1.9/osfmk/ipc/
H A Dmach_kernelrpc.c358 rv = mach_port_construct(task->itk_space, &options, args->context, &name); in _kernelrpc_mach_port_construct_trap()
H A Dmach_port.c2413 mach_port_construct( in mach_port_construct() function
/xnu-12377.1.9/osfmk/mach/
H A Dmach_port.defs568 routine mach_port_construct(