Lines Matching refs:dest_port
1260 ipc_port_t dest_port;
1265 dest_port = (ipc_port_t)msg->msgh_remote_port;
1274 if (IP_VALID(dest_port) && IP_PREALLOC(dest_port)) {
1277 ip_lock(dest_port);
1278 if (!ip_active(dest_port)) {
1279 ip_unlock(dest_port);
1282 assert(IP_PREALLOC(dest_port));
1283 kmsg = dest_port->ip_premsg;
1285 ip_unlock(dest_port);
1296 ip_unlock(dest_port);
1299 ikm_prealloc_set_inuse(kmsg, dest_port);
1301 ip_unlock(dest_port);
1585 ipc_object_t dest_port, reply_port;
1683 &dest_port, &dest_soright,
1699 assert(IO_VALID(dest_port));
1709 assert(reply_port == dest_port);
1721 &dest_port, &dest_soright,
1737 ipc_port_copy_send((ipc_port_t) dest_port);
1748 &dest_port, &dest_soright,
1759 reply_port = dest_port;
1776 &dest_port, &soright,
1796 ipc_port_copy_send((ipc_port_t) dest_port);
1818 &dest_port, &dest_soright,
1836 * At the time we copyin dest_port, it must be alive.
1840 * Then if dest_port dies/died after reply_port died,
1842 * of the two ports. So the bad case is when dest_port
1844 * copyin, and dest_port dies before reply_port. Then
1845 * the copyins operated as if dest_port was alive
1860 * dest_port and reply_port might still be the same.
1885 &dest_port, &dest_soright,
1891 assert(IO_VALID(dest_port));
1923 ipc_port_t dport = (ipc_port_t)dest_port;
1944 msg->msgh_remote_port = (ipc_port_t)dest_port;