Lines Matching defs:user_dsc
1989 mach_msg_legacy_port_descriptor_t *user_dsc,
2006 volatile mach_msg_legacy_port_descriptor_t *user_dsc = user_dsc_in;
2012 user_disp = user_dsc->disposition;
2015 name = (mach_port_name_t)user_dsc->name;
2043 mach_msg_descriptor_t *user_dsc,
2053 mach_msg_descriptor_t *user_dsc,
2068 mach_msg_ool_descriptor64_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
2076 user_dsc = (typeof(user_dsc))(user_ool_dsc+1);
2078 mach_msg_ool_descriptor32_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
2086 user_dsc = (typeof(user_dsc))(user_ool_dsc+1);
2151 return user_dsc;
2156 mach_msg_descriptor_t *user_dsc,
2166 mach_msg_descriptor_t *user_dsc,
2187 mach_msg_ool_ports_descriptor64_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
2196 user_dsc = (typeof(user_dsc))(user_ool_dsc+1);
2198 mach_msg_ool_ports_descriptor32_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
2207 user_dsc = (typeof(user_dsc))(user_ool_dsc+1);
2229 return user_dsc;
2292 return user_dsc;
3167 mach_msg_descriptor_t *user_dsc,
3191 mach_msg_port_descriptor_t *user_dsc = (typeof(user_dsc))dest_dsc;
3192 user_dsc--; // point to the start of this port descriptor
3193 user_dsc->name = CAST_MACH_NAME_TO_PORT(name);
3194 user_dsc->disposition = disp;
3195 user_dsc->type = MACH_MSG_PORT_DESCRIPTOR;
3196 dest_dsc = (typeof(dest_dsc))user_dsc;
3198 mach_msg_legacy_port_descriptor_t *user_dsc = (typeof(user_dsc))dest_dsc;
3199 user_dsc--; // point to the start of this port descriptor
3200 user_dsc->name = CAST_MACH_PORT_TO_NAME(name);
3201 user_dsc->disposition = disp;
3202 user_dsc->type = MACH_MSG_PORT_DESCRIPTOR;
3203 dest_dsc = (typeof(dest_dsc))user_dsc;
3210 ipc_kmsg_copyout_ool_descriptor(mach_msg_ool_descriptor_t *dsc, mach_msg_descriptor_t *user_dsc, int is_64bit, vm_map_t map, mach_msg_return_t *mr);
3212 ipc_kmsg_copyout_ool_descriptor(mach_msg_ool_descriptor_t *dsc, mach_msg_descriptor_t *user_dsc, int is_64bit, vm_map_t map, mach_msg_return_t *mr)
3298 mach_msg_ool_descriptor_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3308 user_dsc = (typeof(user_dsc))user_ool_dsc;
3310 mach_msg_ool_descriptor64_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3320 user_dsc = (typeof(user_dsc))user_ool_dsc;
3322 mach_msg_ool_descriptor32_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3332 user_dsc = (typeof(user_dsc))user_ool_dsc;
3334 return user_dsc;
3339 mach_msg_descriptor_t *user_dsc,
3347 mach_msg_descriptor_t *user_dsc,
3448 mach_msg_ool_ports_descriptor_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3459 user_dsc = (typeof(user_dsc))user_ool_dsc;
3461 mach_msg_ool_ports_descriptor64_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3472 user_dsc = (typeof(user_dsc))user_ool_dsc;
3474 mach_msg_ool_ports_descriptor32_t *user_ool_dsc = (typeof(user_ool_dsc))user_dsc;
3485 user_dsc = (typeof(user_dsc))user_ool_dsc;
3487 return user_dsc;
3517 mach_msg_descriptor_t *kern_dsc, *user_dsc;
3527 /* Point user_dsc just after the end of all the descriptors */
3528 user_dsc = &kern_dsc[dsc_count];
3546 user_dsc = ipc_kmsg_copyout_port_descriptor(&kern_dsc[i], user_dsc, space, &mr);
3550 user_dsc = ipc_kmsg_copyout_ool_descriptor(
3551 (mach_msg_ool_descriptor_t *)&kern_dsc[i], user_dsc, is_task_64bit, map, &mr);
3554 user_dsc = ipc_kmsg_copyout_ool_ports_descriptor(
3555 (mach_msg_ool_ports_descriptor_t *)&kern_dsc[i], user_dsc, is_task_64bit, map, space, kmsg, &mr);
3563 if(user_dsc != kern_dsc) {
3564 vm_offset_t dsc_adjust = (vm_offset_t)user_dsc - (vm_offset_t)kern_dsc;