Lines Matching refs:reply_port
742 register ipc_port_t reply_port;
801 reply_port = (ipc_port_t) entry->ie_object;
802 assert(reply_port != IP_NULL);
862 * dest_port == reply_port, and simple locking is
869 !ip_lock_try(reply_port)) {
880 assert(ip_active(reply_port));
881 assert(reply_port->ip_receiver_name ==
883 assert(reply_port->ip_receiver == space);
885 reply_port->ip_sorights++;
886 ip_reference(reply_port);
892 hdr->msgh_local_port = reply_port;
904 ip_unlock(reply_port);
919 rcv_object = (ipc_object_t) reply_port;
921 rcv_mqueue = &reply_port->ip_messages;
932 ip_unlock(reply_port);
1292 ipc_port_t reply_port =
1298 if (!IP_VALID(reply_port)) {
1309 * dest_port == reply_port, and simple locking is
1316 !ip_lock_try(reply_port)) {
1321 if (!ip_active(reply_port)) {
1322 ip_unlock(reply_port);
1327 assert(reply_port->ip_sorights > 0);
1328 ip_unlock(reply_port);
1363 entry->ie_object = (ipc_object_t) reply_port;
1578 register ipc_port_t reply_port;
1580 reply_port = (ipc_port_t) hdr->msgh_local_port;
1581 if (IP_VALID(reply_port)) {
1582 if (ip_lock_try(reply_port)) {
1583 if (ip_active(reply_port) &&
1584 reply_port->ip_receiver == space &&
1585 reply_port->ip_receiver_name == rcv_name &&
1586 reply_port->ip_pset_count == 0)
1589 rcv_object = (ipc_object_t) reply_port;
1591 rcv_mqueue = &reply_port->ip_messages;
1596 ip_unlock(reply_port);
1613 register ipc_port_t reply_port;
1647 reply_port = (ipc_port_t) hdr->msgh_remote_port;
1648 ip_lock(reply_port);
1650 if ((!ip_active(reply_port)) ||
1651 (reply_port->ip_receiver != space) ||
1652 (reply_port->ip_receiver_name != rcv_name) ||
1653 (reply_port->ip_pset_count != 0))
1656 ip_unlock(reply_port);
1666 rcv_mqueue = &reply_port->ip_messages;
1683 ip_unlock(reply_port);
1698 dest_port = reply_port;
1708 ip_check_unlock(reply_port);