Lines Matching refs:mr
87 mach_msg_return_t mr;
101 mr = MACH_MSG_TRAP(msg, option &~ LIBMACH_OPTIONS,
104 if (mr == MACH_MSG_SUCCESS)
108 while (mr == MACH_SEND_INTERRUPTED)
109 mr = MACH_MSG_TRAP(msg,
115 while (mr == MACH_RCV_INTERRUPTED)
116 mr = MACH_MSG_TRAP(msg,
121 return mr;
153 mach_msg_return_t mr;
167 mr = mach_msg_overwrite_trap(msg, option &~ LIBMACH_OPTIONS,
170 if (mr == MACH_MSG_SUCCESS)
174 while (mr == MACH_SEND_INTERRUPTED)
175 mr = mach_msg_overwrite_trap(msg,
181 while (mr == MACH_RCV_INTERRUPTED)
182 mr = mach_msg_overwrite_trap(msg,
187 return mr;
380 mach_msg_return_t mr;
417 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
421 if (!((mr == MACH_RCV_TOO_LARGE) && (options & MACH_RCV_LARGE)))
432 if (mr == MACH_MSG_SUCCESS) {
459 mr = mach_msg(&bufReply->Head,
467 if ((mr != MACH_SEND_INVALID_DEST) &&
468 (mr != MACH_SEND_TIMED_OUT))
470 mr = MACH_MSG_SUCCESS;
483 return mr;
505 mach_msg_return_t mr;
543 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
547 while (mr == MACH_MSG_SUCCESS) {
576 mr = mach_msg(
591 mr = mach_msg_overwrite(
602 if ((mr != MACH_SEND_INVALID_DEST) &&
603 (mr != MACH_SEND_TIMED_OUT))
609 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
613 } /* while (mr == MACH_MSG_SUCCESS) */
615 if ((mr == MACH_RCV_TOO_LARGE) && (options & MACH_RCV_LARGE)) {
635 return mr;