Lines Matching refs:Head
417 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
424 new_request_alloc = round_page(bufRequest->Head.msgh_size +
435 (void) (*demux)(&bufRequest->Head, &bufReply->Head);
437 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) {
439 bufReply->Head.msgh_remote_port = MACH_PORT_NULL;
441 (bufRequest->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) {
443 bufRequest->Head.msgh_remote_port = MACH_PORT_NULL;
444 mach_msg_destroy(&bufRequest->Head);
457 if (bufReply->Head.msgh_remote_port != MACH_PORT_NULL) {
459 mr = mach_msg(&bufReply->Head,
460 (MACH_MSGH_BITS_REMOTE(bufReply->Head.msgh_bits) ==
464 bufReply->Head.msgh_size, 0, MACH_PORT_NULL,
472 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)
473 mach_msg_destroy(&bufReply->Head);
543 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
550 (void) (*demux)(&bufRequest->Head, &bufReply->Head);
552 if (!(bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) {
554 bufReply->Head.msgh_remote_port = MACH_PORT_NULL;
556 (bufRequest->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)) {
558 bufRequest->Head.msgh_remote_port = MACH_PORT_NULL;
559 mach_msg_destroy(&bufRequest->Head);
572 if (bufReply->Head.msgh_remote_port != MACH_PORT_NULL) {
577 &bufReply->Head,
578 (MACH_MSGH_BITS_REMOTE(bufReply->Head.msgh_bits) ==
582 bufReply->Head.msgh_size, request_size, rcv_name,
592 &bufReply->Head,
593 (MACH_MSGH_BITS_REMOTE(bufReply->Head.msgh_bits) ==
597 bufReply->Head.msgh_size, request_size, rcv_name,
599 &bufRequest->Head, 0);
606 if (bufReply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX)
607 mach_msg_destroy(&bufReply->Head);
609 mr = mach_msg(&bufRequest->Head, MACH_RCV_MSG|options,
616 new_request_alloc = round_page(bufRequest->Head.msgh_size +