Home
last modified time | relevance | path

Searched refs:mpgi (Results 1 – 2 of 2) sorted by relevance

/xnu-10002.1.13/tests/
H A Dmach_service_port.c153 mach_port_guard_info_t mpgi = {SP_CONTEXT}; in do_mach_notify_port_destroyed() local
154 …(mach_task_self(), service_port, MACH_PORT_GUARD_INFO, (mach_port_info_t)&mpgi, MACH_PORT_GUARD_IN… in do_mach_notify_port_destroyed()
/xnu-10002.1.13/osfmk/ipc/
H A Dmach_port.c3250 mach_port_guard_info_t *mpgi = (mach_port_guard_info_t *)(void *)info; in mach_port_assert_attributes() local
3270 mach_port_guard_exception(name, mpgi->mpgi_guard, 0, kGUARD_EXC_UNGUARDED); in mach_port_assert_attributes()
3274 if (!port->ip_strict_guard || (port->ip_context != mpgi->mpgi_guard)) { in mach_port_assert_attributes()
3277 mach_port_guard_exception(name, mpgi->mpgi_guard, port->ip_context, kGUARD_EXC_INCORRECT_GUARD); in mach_port_assert_attributes()