Lines Matching refs:options
153 mach_msg_option64_t options, in mach_msg_receive_too_large() argument
157 assert(options & MACH_RCV_LARGE); in mach_msg_receive_too_large()
159 if (options & MACH64_RCV_LINEAR_VECTOR) { in mach_msg_receive_too_large()
174 if ((options & MACH64_RCV_LARGE_IDENTITY) && in mach_msg_receive_too_large()
234 mach_msg_option64_t options, in mach_msg_receive_error() argument
252 return ipc_kmsg_put_to_user(kmsg, recv_bufs, msgr, options, map, mr); in mach_msg_receive_error()
293 mach_msg_option64_t options = self->ith_option; in mach_msg_receive_results() local
309 if (options & MACH64_RCV_LINEAR_VECTOR) { in mach_msg_receive_results()
325 if (options & MACH64_RCV_LARGE) { in mach_msg_receive_results()
327 options, mr); in mach_msg_receive_results()
332 options, space, map, mr); in mach_msg_receive_results()
343 ipc_importance_receive(kmsg, options); in mach_msg_receive_results()
348 ipc_voucher_receive_postprocessing(kmsg, options); in mach_msg_receive_results()
358 mr = ipc_kmsg_copyout(kmsg, space, map, options); in mach_msg_receive_results()
362 ipc_importance_unreceive(kmsg, options); in mach_msg_receive_results()
367 options, map, mr); in mach_msg_receive_results()
370 options, space, map, mr); in mach_msg_receive_results()
376 options, map, mr); in mach_msg_receive_results()
571 mach_msg_option64_t options) in mach_msg_copyin_user_header() argument
612 options); in mach_msg_copyin_user_header()
622 mach_msg_option64_t options, in mach_msg_receive_pseudo() argument
643 (void)ipc_kmsg_put_to_user(kmsg, &recv_bufs, &msgr, options, map, mr); in mach_msg_receive_pseudo()
662 mach_msg_option64_t options, in mach_msg_trap_send() argument
671 assert(options & MACH64_SEND_MSG); in mach_msg_trap_send()
703 assert(options & MACH64_MACH_MSG2); in mach_msg_trap_send()
725 mr = ipc_kmsg_copyin_from_user(kmsg, send_uctx, space, map, priority, &options); in mach_msg_trap_send()
731 mr = ipc_kmsg_send(kmsg, options, msg_timeout); in mach_msg_trap_send()
734 mr |= mach_msg_receive_pseudo(kmsg, send_uctx, options, space, map); in mach_msg_trap_send()
834 mach_msg_option64_t options = args->option; in mach_msg_overwrite_trap() local
837 options = ipc_current_user_policy(current_task(), options); in mach_msg_overwrite_trap()
841 if (options & MACH_SEND_MSG) { in mach_msg_overwrite_trap()
857 mr = mach_msg_copyin_user_header(&send_uctx, options); in mach_msg_overwrite_trap()
862 mr = mach_msg_trap_send(&send_uctx, options, in mach_msg_overwrite_trap()
872 if (options & MACH_RCV_MSG) { in mach_msg_overwrite_trap()
882 if ((options & MACH_RCV_SYNC_WAIT) && in mach_msg_overwrite_trap()
883 !(options & (MACH_SEND_OVERRIDE | MACH_SEND_MSG)) && in mach_msg_overwrite_trap()
884 !(options & MACH_SEND_SYNC_OVERRIDE)) { in mach_msg_overwrite_trap()
888 mr = mach_msg_trap_receive(msg_addr, 0, options, args->timeout, in mach_msg_overwrite_trap()
952 args->options) | MACH64_MACH_MSG2; in mach_msg2_trap()