Lines Matching refs:trailer
1129 mach_msg_max_trailer_t *trailer;
1202 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
1203 * However, the internal size field of the trailer (msgh_trailer_size)
1207 trailer = (mach_msg_max_trailer_t *) ((vm_offset_t)kmsg->ikm_header + size);
1208 trailer->msgh_sender = current_thread()->task->sec_token;
1209 trailer->msgh_audit = current_thread()->task->audit_token;
1210 trailer->msgh_trailer_type = MACH_MSG_TRAILER_FORMAT_0;
1211 trailer->msgh_trailer_size = MACH_MSG_TRAILER_MINIMUM_SIZE;
1226 trailer->msgh_labels.sender = 0;
1228 trailer->msgh_labels.sender = 0;
1259 mach_msg_max_trailer_t *trailer;
1315 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
1316 * However, the internal size field of the trailer (msgh_trailer_size)
1320 trailer = (mach_msg_max_trailer_t *)
1322 trailer->msgh_sender = KERNEL_SECURITY_TOKEN;
1323 trailer->msgh_audit = KERNEL_AUDIT_TOKEN;
1324 trailer->msgh_trailer_type = MACH_MSG_TRAILER_FORMAT_0;
1325 trailer->msgh_trailer_size = MACH_MSG_TRAILER_MINIMUM_SIZE;
1327 trailer->msgh_labels.sender = 0;
4112 mach_msg_max_trailer_t *trailer;
4115 trailer = (mach_msg_max_trailer_t *)
4120 return trailer->msgh_trailer_size;
4123 trailer->msgh_seqno = seqno;
4124 trailer->msgh_context = context;
4125 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(thread_is_64bit(thread), option);
4140 trailer->msgh_ad = 1;
4143 trailer->msgh_ad = 0;
4166 &trailer->msgh_labels.sender);
4169 trailer->msgh_labels.sender = 0;
4172 trailer->msgh_labels.sender = 0;
4176 trailer->msgh_labels.sender = 0;
4182 return trailer->msgh_trailer_size;