Home
last modified time | relevance | path

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

12

/xnu-8020.140.41/tests/
H A Dmach_port_mod_refs.c20 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
74 ret = mach_port_mod_refs(mach_task_self(), port_set, MACH_PORT_RIGHT_RECEIVE, -1);
103 ret = mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1);
H A Dioconnectasyncmethod_57641955.c23 …T_ASSERT_MACH_SUCCESS(mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &wakePort), "a…
28 mach_port_mod_refs(mach_task_self(), wakePort, MACH_PORT_RIGHT_RECEIVE, -1);
H A Dmach_port_deallocate_21692215.c22 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port[i]);
34 ret = mach_port_mod_refs(mach_task_self(), port[i], MACH_PORT_RIGHT_RECEIVE, -1);
H A Dport_table_limits_client.c78 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &reply_port); in connect_to_server()
90 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &dummy_port); in connect_to_server()
169 retval = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port); in main()
H A Dmach_port_insert_right.c30 retval = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port);
51 retval = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port2);
H A Dexception_ports_info.c44 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &exc_port1);
46 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &exc_port2);
48 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &exc_port3);
H A Dprioritize_process_launch.c231 MACH_PORT_RIGHT_RECEIVE, in get_sync_push_port_at_qos()
259 MACH_PORT_RIGHT_RECEIVE, in create_port_and_copyin_a_port()
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);
778 MACH_PORT_RIGHT_RECEIVE,
H A Dport_table_limits.c134 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in server_setup()
183 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &dummy_port); in server_run()
222 kret = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &rn_port); in create_resource_notify_port()
H A Dregression_17272465.c15 T_ASSERT_MACH_SUCCESS(mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port), NULL);
H A Dport_exhaustion_client.c28 retval = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &port); in main()
H A Dimmovable_send.c110 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in server_setup()
135 kret = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &exc_port); in create_exception_port()
H A Dtask_is_self.c21 …T_ASSERT_MACH_SUCCESS(mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port), "mach_…
H A Dproc_info_44873309.c29 kern_return_t ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
H A Dhost_notifications.c11 T_ASSERT_MACH_SUCCESS(mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port), NULL);
H A Dmach_service_port.c65 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &notify_port);
219 kr = mach_port_mod_refs(mach_task_self(), service_port_2, MACH_PORT_RIGHT_RECEIVE, -1);
H A Dwork_interval_test.c225 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &fake_port);
236 mach_port_mod_refs(mach_task_self(), fake_port, MACH_PORT_RIGHT_RECEIVE, -1);
H A Dmo_immovable_receive.c71 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in server_setup()
163 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, in client()
H A Dmktimer_kobject.c43 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &notify_port);
H A Dkqueue_close.c116 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &mp);
/xnu-8020.140.41/tests/ipc/
H A Dport_turnstile_stash.c30 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &sync_port);
33 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &knote_port[i]);
/xnu-8020.140.41/libsyscall/mach/
H A Dmig_reply_port.c75 (void) mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1); in mig_dealloc_reply_port()
/xnu-8020.140.41/osfmk/mach/
H A Dport.h254 #define MACH_PORT_RIGHT_RECEIVE ((mach_port_right_t) 1) macro
274 #define MACH_PORT_TYPE_RECEIVE MACH_PORT_TYPE(MACH_PORT_RIGHT_RECEIVE)
/xnu-8020.140.41/tests/workq/
H A Dworkq_83476290.c30 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &rp);
/xnu-8020.140.41/tests/vm_memory_tests_src/
H A Dserver.c21 mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port); in main()
/xnu-8020.140.41/osfmk/ipc/
H A Dipc_object.c332 if ((right1 & MACH_PORT_RIGHT_RECEIVE) == MACH_PORT_RIGHT_RECEIVE && in ipc_object_translate_two()
345 if ((right2 & MACH_PORT_RIGHT_RECEIVE) == MACH_PORT_RIGHT_RECEIVE && in ipc_object_translate_two()

12