Lines Matching defs:trailer
256 * Check to see how much of the message/trailer can be received.
257 * We chose the maximum trailer that will fit, since we don't
258 * have options telling us which trailer elements the caller needed.
261 mach_msg_format_0_trailer_t *trailer = (mach_msg_format_0_trailer_t *)
265 /* Enough room for a maximum trailer */
266 trailer->msgh_trailer_size = MAX_TRAILER_SIZE;
269 trailer->msgh_trailer_size) {
270 /* no room for even the basic (default) trailer */
271 trailer->msgh_trailer_size = 0;
273 assert(trailer->msgh_trailer_type == MACH_MSG_TRAILER_FORMAT_0);
274 rcv_size = kmsg->ikm_header->msgh_size + trailer->msgh_trailer_size;
325 mach_msg_format_0_trailer_t *trailer;
348 * Reserve for the trailer the largest space (MAX_TRAILER_SIZE)
349 * However, the internal size field of the trailer (msgh_trailer_size)
401 trailer = (mach_msg_format_0_trailer_t *)
404 trailer->msgh_seqno = seqno;
405 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(option);
408 if (rcv_size < (kmsg->ikm_header->msgh_size + trailer->msgh_trailer_size)) {
420 kmsg->ikm_header->msgh_size + trailer->msgh_trailer_size);
431 kmsg->ikm_header->msgh_size + trailer->msgh_trailer_size);