Lines Matching defs:trailer
196 mach_msg_max_trailer_t *trailer;
216 * reserve for the trailer the largest space (MAX_TRAILER_SIZE)
217 * However, the internal size field of the trailer (msgh_trailer_size)
221 trailer = (mach_msg_max_trailer_t *) ((vm_offset_t)kmsg->ikm_header + send_size);
222 trailer->msgh_sender = current_thread()->task->sec_token;
223 trailer->msgh_audit = current_thread()->task->audit_token;
224 trailer->msgh_trailer_type = MACH_MSG_TRAILER_FORMAT_0;
225 trailer->msgh_trailer_size = MACH_MSG_TRAILER_MINIMUM_SIZE;
286 mach_msg_max_trailer_t *trailer;
314 trailer = (mach_msg_max_trailer_t *)
318 trailer->msgh_seqno = seqno;
319 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(option);
330 trailer->msgh_ad = 1;
333 trailer->msgh_ad = 0;
356 &trailer->msgh_labels.sender);
362 trailer->msgh_labels.sender = 0;
365 trailer->msgh_labels.sender = 0;
368 trailer->msgh_labels.sender = 0;
394 trailer->msgh_trailer_size) == MACH_RCV_INVALID_DATA)
407 trailer->msgh_trailer_size);
669 mach_msg_format_0_trailer_t *trailer;
720 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
1281 reply_size = send_size + trailer->msgh_trailer_size;
1485 trailer->msgh_trailer_size) ==
1505 trailer->msgh_trailer_size);
1645 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
1711 trailer->msgh_seqno = temp_seqno;
1712 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(option);
1775 trailer = (mach_msg_format_0_trailer_t *) ((vm_offset_t) hdr +
1778 trailer->msgh_seqno = temp_seqno;
1779 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(option);
1796 temp_seqno = trailer->msgh_seqno;
1931 * Builds a minimal header/trailer and copies it to
1937 * MACH_MSG_SUCCESS minimal header/trailer copied
1949 mach_msg_format_0_trailer_t *trailer;
1958 * Build a minimal message with the requested trailer.
1960 trailer = (mach_msg_format_0_trailer_t *)
1965 (char *)trailer,
1968 trailer->msgh_seqno = seqno;
1969 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(option);
1976 trailer->msgh_trailer_size) == MACH_RCV_INVALID_DATA)