Searched refs:option (Results 1 - 25 of 28) sorted by relevance

12

/darwin-on-arm/xnu/libsyscall/mach/
H A Dms_thread_switch.c69 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 Dmach_msg.c78 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 Dmach_msg.c124 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 Dipc_mqueue.c365 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 Dipc_pset.c402 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 Dipc_mqueue.h181 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 Dipc_kmsg.h307 mach_msg_option_t option,
413 mach_msg_option_t option, thread_t thread,
H A Dipc_kmsg.c205 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 Dsyscall_subr.c206 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 Dsync_sema.c119 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 Dipc_mig.c171 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 Dipc_mig.h161 mach_msg_option_t option,
H A Dthread.h312 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 Dlb_mmtest.c153 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 Ddhcp_options.c31 * 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 Ddhcp_options.h48 /* 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 Dtcp_debug.c66 #error The option TCPDEBUG requires option INET.
/darwin-on-arm/xnu/libkern/crypto/
H A Dcorecrypto_sha1.c95 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 Dlocalcrypto_sha1.c150 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 Dlexer.l101 %option nounput
/darwin-on-arm/xnu/osfmk/mach/
H A Dmach_traps.h96 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 Dmessage.h94 * (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 Dux_exception.c71 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 Dkextsymboltool.c286 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 DRootDomain.h712 bool getSleepOption( const char * key, uint32_t * option );

Completed in 125 milliseconds

12