Lines Matching refs:send_size
125 mach_msg_size_t send_size,
187 mach_msg_size_t send_size,
198 if ((send_size < sizeof(mach_msg_header_t)) || (send_size & 3))
201 if (send_size > MACH_MSG_SIZE_MAX - MAX_TRAILER_SIZE)
204 msg_and_trailer_size = send_size + MAX_TRAILER_SIZE;
211 (void) memcpy((void *) kmsg->ikm_header, (const void *) msg, send_size);
213 kmsg->ikm_header->msgh_size = send_size;
221 trailer = (mach_msg_max_trailer_t *) ((vm_offset_t)kmsg->ikm_header + send_size);
651 mach_msg_size_t send_size = args->send_size;
715 mr = ipc_kmsg_get(msg_addr, send_size, &kmsg);
721 send_size);
1281 reply_size = send_size + trailer->msgh_trailer_size;
1481 /* hdr and send_size may be invalid now - done use */
1541 * and send_size - as they could have changed during the
1545 send_size = hdr->msgh_size;
1644 send_size = hdr->msgh_size;
1646 round_msg(send_size));
1774 send_size = hdr->msgh_size;
1776 round_msg(send_size));
1840 mr = ipc_kmsg_get(msg_addr, send_size, &kmsg);