Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Dipc_host.c497 ipc_port_t old_port[EXC_TYPES_COUNT]; in host_set_exception_ports() local
545 old_port[i] = host_priv->exc_actions[i].port; in host_set_exception_ports()
552 old_port[i] = IP_NULL; in host_set_exception_ports()
566 if (IP_VALID(old_port[i])) { in host_set_exception_ports()
567 ipc_port_release_send(old_port[i]); in host_set_exception_ports()
671 ipc_port_t old_port[EXC_TYPES_COUNT]; in host_swap_exception_ports() local
740 old_port[i] = host_priv->exc_actions[i].port; in host_swap_exception_ports()
746 old_port[i] = IP_NULL; in host_swap_exception_ports()
759 if (IP_VALID(old_port[i])) { in host_swap_exception_ports()
760 ipc_port_release_send(old_port[i]); in host_swap_exception_ports()
H A Dipc_tt.c4294 ipc_port_t old_port[EXC_TYPES_COUNT]; in thread_set_exception_ports_internal() local
4328 old_port[i] = action->port; in thread_set_exception_ports_internal()
4335 old_port[i] = IP_NULL; in thread_set_exception_ports_internal()
4346 if (IP_VALID(old_port[i])) { in thread_set_exception_ports_internal()
4347 ipc_port_release_send(old_port[i]); in thread_set_exception_ports_internal()
4406 ipc_port_t old_port[EXC_TYPES_COUNT]; in task_set_exception_ports() local
4450 old_port[i] = task->exc_actions[i].port; in task_set_exception_ports()
4457 old_port[i] = IP_NULL; in task_set_exception_ports()
4468 if (IP_VALID(old_port[i])) { in task_set_exception_ports()
4469 ipc_port_release_send(old_port[i]); in task_set_exception_ports()
[all …]
H A Dhost.c1245 ipc_port_t old_port; in kernel_set_special_port() local
1258 old_port = host_priv->special[id]; in kernel_set_special_port()
1268 if (IP_VALID(old_port)) { in kernel_set_special_port()
1269 ipc_port_release_send(old_port); in kernel_set_special_port()