Lines Matching refs:reply

1384 		 * Call the server routine, and get the reply message to send.
1393 /* fall thru with reply - same options */
1568 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
1642 * Destination and reply ports are the same!
1672 * checked for reply port errors above,
1690 * Either dest or reply needs a receive right.
1695 * by reply (and verified by copyin_check) will
1808 * No reply port! This is an easy case
1851 * For example, suppose both dest and reply are
1863 * we intend to separate the dest lookup from the reply copyin
2516 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
2587 /* translate the destination and reply ports */
2596 * The common case is a complex message with no reply port,
2721 /* translate the destination and reply ports */
2730 * The common case is a complex message with no reply port,
2905 * Couldn't allocate memory for the reply port.
2930 ipc_port_t reply = (ipc_port_t) msg->msgh_local_port;
2934 if (IP_VALID(reply)) {
2939 * Get reply port entry (if none, skip to dest port
2953 ipc_right_reverse(space, (ipc_object_t) reply,
2955 /* reply port is locked and active */
2961 ip_lock(reply);
2962 if (!ip_active(reply)) {
2963 ip_unlock(reply);
2967 release_port = reply;
2968 reply = IP_DEAD;
2973 reply_name = CAST_MACH_PORT_TO_NAME(reply);
2976 ip_unlock(reply);
2993 entry->ie_object = (ipc_object_t) reply;
2997 /* space and reply port are locked and active */
2999 ip_reference(reply); /* hold onto the reply port */
3002 reply_type, TRUE, (ipc_object_t) reply);
3003 /* reply port is unlocked */
3010 * No reply port! This is an easy case.
3024 reply_name = CAST_MACH_PORT_TO_NAME(reply);
3031 * We still hold a ref for reply (if it is valid).
3042 * copyout of the reply port is a bit tricky. If there was
3043 * no real reply port (it wasn't IP_VALID) then this isn't
3044 * an issue. If the reply port was dead at copyout time,
3047 * we serialize after reply died but before dest's (later) death.
3048 * So assume reply was alive when we copied it out. If dest
3051 * If reply dies/died after dest, then we are OK because
3052 * we serialize after dest died but before reply dies.
3053 * So the hard case is when reply is alive at copyout,
3054 * dest is dead at copyout, and reply died before dest died.
3058 * Because the space lock is held across the copyout of reply
3064 * the time reply was copied-out, so when we pretend
3067 * If dest == reply, then we have to make it look like
3087 if (IP_VALID(reply)) {
3088 ip_lock(reply);
3089 if (ip_active(reply) ||
3091 reply->ip_timestamp))
3095 ip_unlock(reply);
3100 if (IP_VALID(reply))
3101 ip_release(reply);
3699 ipc_object_t reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port;
3708 ipc_kmsg_copyout_object(space, reply, reply_type, &reply_name));
3737 ipc_object_t reply;
3744 reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port;
3760 if (IO_VALID(reply)) {
3761 ipc_object_destroy(reply, reply_type);
3764 reply_name = CAST_MACH_PORT_TO_NAME(reply);
3940 * Copies out the destination and reply ports in the message.
3956 ipc_object_t reply;
3962 reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port;
3978 reply_name = CAST_MACH_PORT_TO_NAME(reply);
3994 ipc_object_t reply;
4000 reply = (ipc_object_t) kmsg->ikm_header->msgh_local_port;
4016 reply_name = CAST_MACH_PORT_TO_NAME(reply);