Home
last modified time | relevance | path

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

/xnu-8792.61.2/osfmk/mach/
H A Dthread_special_ports.h74 #define THREAD_READ_PORT 3 /* The read port for thread. */ macro
76 #define THREAD_MAX_SPECIAL_PORT THREAD_READ_PORT
/xnu-8792.61.2/libsyscall/mach/
H A Dport_descriptions.c122 [THREAD_READ_PORT] = "read", in mach_thread_special_port_description()
124 _Static_assert(THREAD_READ_PORT == THREAD_MAX_SPECIAL_PORT, in mach_thread_special_port_description()
210 SP_ENTRY(THREAD_READ_PORT), in mach_thread_special_port_for_id()
/xnu-8792.61.2/tests/
H A Dport_descriptions.c133 TEST_TSP(THREAD_READ_PORT);
138 T_EXPECT_EQ(THREAD_READ_PORT, THREAD_MAX_SPECIAL_PORT,
228 TEST_TSP(THREAD_READ_PORT);
H A Dipc_read_inspect.c140 kr = thread_get_special_port(tport, THREAD_READ_PORT, &special_port); in test_thread_get_special_port()
611 kr = thread_get_special_port(th_control_port, THREAD_READ_PORT, &th_read_port);
H A Dimm_pinned_control_port_crasher.c294 kr = thread_get_special_port(th_port, THREAD_READ_PORT, &port); in immovable_test_copy_send_thread_read()
/xnu-8792.61.2/osfmk/kern/
H A Dipc_tt.c1659 case THREAD_READ_PORT: in thread_get_special_port_internal()
1662 mach_thread_flavor_t current_flavor = (which == THREAD_READ_PORT) ? in thread_get_special_port_internal()
1782 case THREAD_READ_PORT: in special_port_allowed_with_thread_flavor()