Home
last modified time | relevance | path

Searched refs:old_port (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.41.6/osfmk/kern/
H A Dipc_host.c500 ipc_port_t old_port[EXC_TYPES_COUNT]; in host_set_exception_ports() local
549 old_port[i] = host_priv->exc_actions[i].port; in host_set_exception_ports()
556 old_port[i] = IP_NULL; in host_set_exception_ports()
570 if (IP_VALID(old_port[i])) { in host_set_exception_ports()
571 ipc_port_release_send(old_port[i]); in host_set_exception_ports()
675 ipc_port_t old_port[EXC_TYPES_COUNT]; in host_swap_exception_ports() local
745 old_port[i] = host_priv->exc_actions[i].port; in host_swap_exception_ports()
751 old_port[i] = IP_NULL; in host_swap_exception_ports()
764 if (IP_VALID(old_port[i])) { in host_swap_exception_ports()
765 ipc_port_release_send(old_port[i]); in host_swap_exception_ports()
H A Dipc_tt.c4069 ipc_port_t old_port[EXC_TYPES_COUNT]; in thread_set_exception_ports_internal() local
4103 old_port[i] = action->port; in thread_set_exception_ports_internal()
4110 old_port[i] = IP_NULL; in thread_set_exception_ports_internal()
4121 if (IP_VALID(old_port[i])) { in thread_set_exception_ports_internal()
4122 ipc_port_release_send(old_port[i]); in thread_set_exception_ports_internal()
4181 ipc_port_t old_port[EXC_TYPES_COUNT]; in task_set_exception_ports() local
4225 old_port[i] = task->exc_actions[i].port; in task_set_exception_ports()
4232 old_port[i] = IP_NULL; in task_set_exception_ports()
4243 if (IP_VALID(old_port[i])) { in task_set_exception_ports()
4244 ipc_port_release_send(old_port[i]); in task_set_exception_ports()
[all …]
H A Dhost.c1265 ipc_port_t old_port; in kernel_set_special_port() local
1276 old_port = host_priv->special[id]; in kernel_set_special_port()
1280 if (IP_VALID(old_port)) { in kernel_set_special_port()
1281 ipc_port_release_send(old_port); in kernel_set_special_port()