/darwin-on-arm/xnu/libsyscall/mach/ |
H A D | ms_thread_switch.c | 69 int option, 74 result = syscall_thread_switch(thread, option, option_time); 67 thread_switch( mach_port_name_t thread, int option, mach_msg_timeout_t option_time) argument
|
H A D | mach_msg.c | 78 mach_msg(msg, option, send_size, rcv_size, rcv_name, timeout, notify) 80 mach_msg_option_t option; 96 * We refrain from passing the option bits that we implement 98 * the kernel's fast paths (when it checks the option value). 101 mr = MACH_MSG_TRAP(msg, option &~ LIBMACH_OPTIONS, 107 if ((option & MACH_SEND_INTERRUPT) == 0) 110 option &~ LIBMACH_OPTIONS, 114 if ((option & MACH_RCV_INTERRUPT) == 0) 117 option &~ (LIBMACH_OPTIONS|MACH_SEND_MSG), 141 mach_msg_overwrite(msg, option, send_siz [all...] |
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_msg.c | 124 mach_msg_option_t option, 131 mach_msg_option_t option, 142 mach_msg_option_t option, 180 mach_msg_option_t option, 221 mr = ipc_kmsg_copyin(kmsg, space, map, option & MACH_SEND_NOTIFY); 227 mr = ipc_kmsg_send(kmsg, option & MACH_SEND_TIMEOUT, send_timeout); 269 mach_msg_option_t option = self->ith_option; local 279 if (option & MACH_RCV_LARGE) { 293 if (msg_receive_error(kmsg, msg_addr, option, seqno, space) 300 trailer_size = ipc_kmsg_add_trailer(kmsg, space, option, sel 178 mach_msg_send( mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, mach_msg_timeout_t send_timeout, __unused mach_port_name_t notify) argument 341 mach_msg_receive( mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t rcv_size, mach_port_name_t rcv_name, mach_msg_timeout_t rcv_timeout, void (*continuation)(mach_msg_return_t), mach_msg_size_t slist_size) argument 399 mach_msg_option_t option = args->option; local 512 msg_receive_error( ipc_kmsg_t kmsg, mach_vm_address_t msg_addr, mach_msg_option_t option, mach_port_seqno_t seqno, ipc_space_t space) argument [all...] |
H A D | ipc_mqueue.c | 365 mach_msg_option_t option, 374 * 2) Caller used the MACH_SEND_ALWAYS internal option. 379 ((option & MACH_SEND_ALWAYS) || 393 if ((option & MACH_SEND_TIMEOUT) && (send_timeout == 0)) { 405 if (option & MACH_SEND_TIMEOUT) 425 assert(option & MACH_SEND_TIMEOUT); 592 mach_msg_option_t option = self->ith_option; local 626 if (option & MACH_RCV_LARGE) { 682 mach_msg_option_t option, 690 wresult = ipc_mqueue_receive_on_thread(mqueue, option, max_siz 362 ipc_mqueue_send( ipc_mqueue_t mqueue, ipc_kmsg_t kmsg, mach_msg_option_t option, mach_msg_timeout_t send_timeout, spl_t s) argument 680 ipc_mqueue_receive( ipc_mqueue_t mqueue, mach_msg_option_t option, mach_msg_size_t max_size, mach_msg_timeout_t rcv_timeout, int interruptible) argument 711 ipc_mqueue_receive_on_thread( ipc_mqueue_t mqueue, mach_msg_option_t option, mach_msg_size_t max_size, mach_msg_timeout_t rcv_timeout, int interruptible, thread_t thread) argument 900 ipc_mqueue_select_on_thread( ipc_mqueue_t mqueue, mach_msg_option_t option, mach_msg_size_t max_size, thread_t thread) argument [all...] |
H A D | ipc_pset.c | 402 mach_msg_option_t option; local 433 option = kn->kn_sfflags & (MACH_RCV_MSG|MACH_RCV_LARGE|MACH_RCV_TRAILER_MASK); 434 if (option & MACH_RCV_MSG) { 438 option = MACH_RCV_LARGE; 452 self->ith_option = option; 456 option |= MACH_RCV_TIMEOUT; // never wait 461 option, 483 if ((option & MACH_RCV_MSG) != MACH_RCV_MSG) { 495 assert(option & MACH_RCV_MSG);
|
H A D | ipc_mqueue.h | 181 mach_msg_option_t option, 193 mach_msg_option_t option, 201 mach_msg_option_t option, 215 mach_msg_option_t option,
|
H A D | ipc_kmsg.h | 307 mach_msg_option_t option, 413 mach_msg_option_t option, thread_t thread,
|
H A D | ipc_kmsg.c | 205 mach_msg_copy_options_t option); 384 mach_msg_copy_options_t option) 388 switch (option) { 1357 mach_msg_option_t option, 1432 error = ipc_mqueue_send(&port->ip_messages, kmsg, option, 2396 * Invalid copy option 4108 mach_msg_option_t option, thread_t thread, 4119 if (!(option & MACH_RCV_TRAILER_MASK)) { 4125 trailer->msgh_trailer_size = REQUESTED_TRAILER_SIZE(thread_is_64bit(thread), option); 4131 if (MACH_RCV_TRAILER_ELEMENTS(option) > 383 mm_copy_options_string64( mach_msg_copy_options_t option) argument 1355 ipc_kmsg_send( ipc_kmsg_t kmsg, mach_msg_option_t option, mach_msg_timeout_t send_timeout) argument 4107 ipc_kmsg_add_trailer(ipc_kmsg_t kmsg, ipc_space_t space, mach_msg_option_t option, thread_t thread, mach_port_seqno_t seqno, boolean_t minimal_trailer, mach_vm_offset_t context) argument [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | syscall_subr.c | 206 int option = self->saved.swtch.option; local 208 if (option == SWITCH_OPTION_DEPRESS) 226 int option = args->option; local 230 * Process option. 232 switch (option) { 301 if (option == SWITCH_OPTION_WAIT) 305 if (option == SWITCH_OPTION_DEPRESS) 308 self->saved.swtch.option [all...] |
H A D | sync_sema.c | 119 int option, 615 int option, 630 } else if (option & SEMAPHORE_TIMEOUT_NOBLOCK) { 815 int option = SEMAPHORE_OPTION_NONE; local 825 option = SEMAPHORE_TIMEOUT_NOBLOCK; 831 deadline, option, 874 int option = SEMAPHORE_OPTION_NONE; local 878 option = SEMAPHORE_TIMEOUT_NOBLOCK; 884 deadline, option, 967 int option local 611 semaphore_wait_internal( semaphore_t wait_semaphore, semaphore_t signal_semaphore, uint64_t deadline, int option, void (*caller_cont)(kern_return_t)) argument 1022 int option = SEMAPHORE_OPTION_NONE; local [all...] |
H A D | ipc_mig.c | 171 mach_msg_option_t option, 187 mr = ipc_kmsg_send(kmsg, option, timeout_val); 408 mach_msg_option_t option, 424 if (option & MACH_SEND_MSG) { 469 if (option & MACH_RCV_MSG) { 499 trailer_size = ipc_kmsg_add_trailer(kmsg, space, option, current_thread(), seqno, TRUE, 168 mach_msg_send_from_kernel_with_options( mach_msg_header_t *msg, mach_msg_size_t send_size, mach_msg_option_t option, mach_msg_timeout_t timeout_val) argument 406 mach_msg_overwrite( mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, mach_msg_size_t rcv_size, mach_port_name_t rcv_name, __unused mach_msg_timeout_t msg_timeout, __unused mach_port_name_t notify, __unused mach_msg_header_t *rcv_msg, __unused mach_msg_size_t rcv_msg_size) argument
|
H A D | ipc_mig.h | 161 mach_msg_option_t option,
|
H A D | thread.h | 312 mach_msg_option_t option; /* options for receive */ member in struct:thread::__anon1093::__anon1094 327 int option; /* switch option */ member in struct:thread::__anon1093::__anon1096 446 #define ith_option saved.receive.option
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lb_mmtest.c | 153 mach_msg_option_t option; local 167 option = MACH_RCV_MSG|MACH_RCV_INTERRUPT|MACH_RCV_LARGE; 169 option, 201 option = MACH_SEND_MSG|MACH_RCV_MSG|MACH_RCV_INTERRUPT|MACH_RCV_LARGE; 203 option = MACH_RCV_MSG|MACH_RCV_INTERRUPT|MACH_RCV_LARGE; 207 option, 239 mach_msg_option_t option; local 273 option = MACH_SEND_MSG; 276 option = MACH_SEND_MSG|MACH_RCV_MSG; 282 option, [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | dhcp_options.c | 31 * and create new dhcp option areas 232 * list of option pointers in the given dhcpol_t. 285 * Finds the first occurence of the given option, and returns its 286 * length and the option data pointer. 290 * calls will retrieve the next occurence of the option. 305 const uint8_t * option = dhcpol_element(list, i); local 307 if (option[DHCP_TAG_OFFSET] == tag) { 309 *len_p = option[DHCP_LEN_OFFSET]; 312 return (option + DHCP_OPTION_OFFSET); 323 * Accumulate all occurences of the given option int 473 dhcpoa_add(dhcpoa_t * oa_p, dhcptag_t tag, int len, const void * option) argument [all...] |
H A D | dhcp_options.h | 48 /* overloaded option values */ 55 * - the largest size that an option can be (limited to an 8-bit quantity) 164 /* ad-hoc network disable option */ 207 * Types and functions to create new dhcp option areas. 213 * To record information about a dhcp option data area. 218 int oa_offset; /* offset of next option to write */ 228 * To record information about a dhcp option data area. 259 dhcptag_t tag, int len, void * option);
|
H A D | tcp_debug.c | 66 #error The option TCPDEBUG requires option INET.
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_sha1.c | 95 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref); 99 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref) argument 101 if(option) {
|
H A D | localcrypto_sha1.c | 150 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref); 230 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref) argument 232 if(option) {
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | lexer.l | 101 %option nounput
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mach_traps.h | 96 mach_msg_option_t option, 105 mach_msg_option_t option, 248 int option, 380 PAD_ARG_(mach_msg_option_t, option); 545 PAD_ARG_(int, option);
|
H A D | message.h | 94 * (No MACH_SEND_TIMEOUT/MACH_RCV_TIMEOUT option.) 472 * when the format_0 trailers gain new option data fields in the future). 775 mach_msg_option_t option, 796 mach_msg_option_t option,
|
/darwin-on-arm/xnu/bsd/uxkern/ |
H A D | ux_exception.c | 71 mach_msg_option_t option, mach_msg_size_t rcv_size, 76 mach_msg_option_t option, mach_msg_size_t send_size,
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 286 char * option = NULL; local 394 option = scan; 396 /* Find the end of the option. 402 /* Note char past end of option. 405 option_len = option_term - option; 408 fprintf(stderr, "option too long in symbol line: %s\n", line); 411 memcpy(optionstr, option, option_len); 414 /* Find the option. 531 fprintf(stderr, "unknown option: %s\n", argv[i]);
|
/darwin-on-arm/xnu/iokit/IOKit/pwr_mgt/ |
H A D | RootDomain.h | 712 bool getSleepOption( const char * key, uint32_t * option );
|