Home
last modified time | relevance | path

Searched refs:THREAD_KERNEL_PORT (Results 1 – 6 of 6) sorted by relevance

/xnu-8020.101.4/osfmk/mach/
H A Dthread_special_ports.h70 #define THREAD_KERNEL_PORT 1 /* The full thread port for thread. */ macro
82 (thread_get_special_port((thread), THREAD_KERNEL_PORT, (port)))
85 (thread_set_special_port((thread), THREAD_KERNEL_PORT, (port)))
/xnu-8020.101.4/libsyscall/mach/
H A Dport_descriptions.c119 [THREAD_KERNEL_PORT] = "kernel", in mach_thread_special_port_description()
207 SP_ENTRY(THREAD_KERNEL_PORT), in mach_thread_special_port_for_id()
/xnu-8020.101.4/tests/
H A Dport_descriptions.c131 TEST_TSP(THREAD_KERNEL_PORT);
226 TEST_TSP(THREAD_KERNEL_PORT);
H A Dimm_pinned_control_port.c188 kr = thread_set_special_port(mach_thread_self(), THREAD_KERNEL_PORT, mach_thread_self()); in test_immovable_port_stashing()
230 kr = thread_get_special_port(th_self, THREAD_KERNEL_PORT, &port); in test_task_thread_port_values()
H A Dipc_read_inspect.c134 kr = thread_get_special_port(tport, THREAD_KERNEL_PORT, &special_port); in test_thread_get_special_port()
602 kr = thread_get_special_port(th_control_port, THREAD_KERNEL_PORT, &th_movable_port);
/xnu-8020.101.4/osfmk/kern/
H A Dipc_tt.c1604 case THREAD_KERNEL_PORT: in thread_get_special_port_internal()
1675 if (which == THREAD_KERNEL_PORT && tro->tro_task == current_task()) { in thread_get_special_port_from_user()
1781 case THREAD_KERNEL_PORT: in thread_set_special_port()