Lines Matching defs:hdr
665 register mach_msg_header_t *hdr;
719 hdr = kmsg->ikm_header;
720 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
737 switch (hdr->msgh_bits) {
752 (mach_port_name_t)hdr->msgh_local_port;
815 (mach_port_name_t)hdr->msgh_remote_port;
882 (mach_port_name_t)hdr->msgh_local_port);
888 hdr->msgh_bits =
891 hdr->msgh_remote_port = dest_port;
892 hdr->msgh_local_port = reply_port;
944 (mach_port_name_t)hdr->msgh_local_port;
967 (mach_port_name_t)hdr->msgh_remote_port;
1022 hdr->msgh_bits =
1025 hdr->msgh_remote_port = dest_port;
1156 // (MACH_MSGH_BITS_REMOTE(hdr->msgh_bits) ==
1158 assert((hdr->msgh_bits & MACH_MSGH_BITS_CIRCULAR) == 0);
1289 switch (hdr->msgh_bits) {
1293 (ipc_port_t) hdr->msgh_local_port;
1392 hdr->msgh_bits =
1395 hdr->msgh_remote_port = (mach_port_t)reply_name;
1396 hdr->msgh_local_port = (mach_port_t)dest_name;
1435 hdr->msgh_bits = MACH_MSGH_BITS(0,
1437 hdr->msgh_remote_port = MACH_PORT_NULL;
1438 hdr->msgh_local_port = (ipc_port_t)dest_name;
1472 hdr->msgh_bits =
1475 hdr->msgh_remote_port = MACH_PORT_NULL;
1476 hdr->msgh_local_port = (mach_port_t)dest_name;
1481 /* hdr and send_size may be invalid now - done use */
1523 (mach_port_name_t)hdr->msgh_local_port;
1544 hdr = kmsg->ikm_header;
1545 send_size = hdr->msgh_size;
1549 (hdr->msgh_bits & MACH_MSGH_BITS_CIRCULAR)) {
1554 dest_port = (ipc_port_t) hdr->msgh_remote_port;
1570 (MACH_MSGH_BITS_REMOTE(hdr->msgh_bits) ==
1580 reply_port = (ipc_port_t) hdr->msgh_local_port;
1643 hdr = kmsg->ikm_header;
1644 send_size = hdr->msgh_size;
1645 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
1647 reply_port = (ipc_port_t) hdr->msgh_remote_port;
1773 hdr = kmsg->ikm_header;
1774 send_size = hdr->msgh_size;
1775 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
1781 dest_port = (ipc_port_t) hdr->msgh_remote_port;