Lines Matching defs:slist
3514 mach_msg_body_t *slist)
3531 if (slist != MACH_MSG_BODY_NULL) {
3533 saddr = (mach_msg_descriptor_t *) (slist + 1);
3534 sdsc_count = slist->msgh_descriptor_count;
3651 mach_msg_body_t *slist)
3661 mr = ipc_kmsg_copyout_body(kmsg, space, map, slist);
3695 mach_msg_body_t *slist)
3715 mr |= ipc_kmsg_copyout_body(kmsg, space, map, slist);
3810 mach_msg_body_t *slist;
3823 slist = (mach_msg_body_t *)kalloc(slist_size);
3824 if (slist == MACH_MSG_BODY_NULL)
3825 return slist;
3827 if (copyin(msg_addr + sizeof(mach_msg_header_t), (char *)slist, slist_size)) {
3828 kfree(slist, slist_size);
3832 if ((slist->msgh_descriptor_count* sizeof(mach_msg_descriptor_t)
3834 kfree(slist, slist_size);
3842 sstart = (mach_msg_descriptor_t *) (slist + 1);
3843 send = sstart + slist->msgh_descriptor_count;
3859 if (slist->msgh_descriptor_count == 0) {
3860 kfree(slist, slist_size);
3887 kfree(slist, slist_size);
3892 kfree(slist, slist_size);
3898 kfree(slist, slist_size);
3903 kfree(slist, slist_size);
3911 return slist;
3925 mach_msg_body_t *slist,
3933 kfree(slist, slist_size);