/xnu-2782.1.97/bsd/sys/ |
H A D | _select.h | 30 * This is called from sys/select.h and sys/time.h for the common prototype 31 * of select(). Setting _DARWIN_C_SOURCE or _DARWIN_UNLIMITED_SELECT uses 32 * the version of select() that does not place a limit on the first argument 39 int select(int, fd_set * __restrict, fd_set * __restrict, 42 __DARWIN_EXTSN_C(select) variable 45 __DARWIN_1050(select) 47 __DARWIN_ALIAS_C(select)
|
H A D | eventvar.h | 60 #include <sys/select.h> 73 struct selinfo kq_sel; /* parent select/kqueue info */
|
H A D | proc.h | 74 #include <sys/select.h> /* For struct selinfo. */
|
H A D | tty.h | 75 #include <sys/select.h> /* For struct selinfo. */ 130 struct selinfo t_rsel; /* Tty read/oob select. */ 131 struct selinfo t_wsel; /* Tty write select. */
|
H A D | socketvar.h | 79 #include <sys/select.h> /* for struct selinfo */
|
/xnu-2782.1.97/tools/tests/perf_index/ |
H A D | test_controller.py | 5 import select 13 rl, _, _ = select.select(client_sockets_set, [], [])
|
/xnu-2782.1.97/libsyscall/wrappers/ |
H A D | select-base.c | 29 #include <sys/select.h> 41 * select stub, return error if nfds > FD_SETSIZE 49 select(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, function 63 * Legacy select behavior is minimum 10 msec when tv_usec is non-zero
|
/xnu-2782.1.97/bsd/net/ |
H A D | bpfdesc.h | 78 #include <sys/select.h> 127 struct selinfo bd_sel; /* bsd select info */ 132 thread_call_t bd_thread_call; /* for BPF timeouts with select */ 141 #define BPF_IDLE 0 /* no select in progress or kqueue pending */ 142 #define BPF_WAITING 1 /* waiting for read timeout in select/kqueue */ 143 #define BPF_TIMED_OUT 2 /* read timeout has expired in select/kqueue */
|
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | select.c | 68 "notes: measures select()\n", 191 if (select(maxfd, my_iset, my_oset, NULL, &tv) != target) {
|
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_select_file.c | 399 select(ts->num, 0, &nosave, 0, &tv); 400 //(void) fprintf(stderr, "benchmark: select result is %i\n",sel_res);
|
H A D | lmbench_select_tcp.c | 616 select(ts->num, 0, &nosave, 0, &tv);
|
/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | tests.h | 37 #include <sys/select.h>
|
H A D | main.c | 49 #include <sys/select.h> 80 {1, &socket2_tests, NULL, "fsync, getsockopt, poll, select, setsockopt, socketpair"},
|
H A D | socket_tests.c | 402 * Test fsync, getsockopt, poll, select, setsockopt, socketpair system calls. 505 /* test select by using it to wait for message from parent */ 518 my_err = select( (my_sockets[1] + 1), &my_read_set, NULL, NULL, &my_timeout ); 520 printf( "select call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
/xnu-2782.1.97/bsd/kern/ |
H A D | socket_info.c | 35 #include <sys/select.h>
|
H A D | subr_log.c | 76 #include <sys/select.h> 101 struct selinfo sc_selp; /* thread waiting for select */
|
H A D | kern_event.c | 69 #include <sys/select.h> 1263 * make sure it is unlinked from all its containing (select) sets. 2331 * the kqueue onto the wait queue set for the select(). Normally we 2335 * (The select() call will unlink them when it ends).
|
H A D | sys_generic.c | 136 /* for wait queue based select */ 950 select(struct proc *p, struct select_args *uap, int32_t *retval) function 981 /* select on thread of process that already called proc_exit() */ 997 * Note: If this process fails, select() will return EAGAIN; this 999 * it is not a POSIX compliant error code for select(). 1081 panic("select: wql memory smashed"); 1082 /* needed for the select now */ 1166 /* skip scans if the select is just for timeouts */ 1180 /* if the select of log, then we canwakeup and discover some one 1223 /* if the select i [all...] |
/xnu-2782.1.97/tools/tests/MPMMTest/ |
H A D | KQMPMMtest.c | 17 #include <sys/select.h> 100 fprintf(stderr, " -select \t\tselect prior to calling kevent().\n"); 200 } else if (0 == strcmp("-select", argv[0])) { 384 printf("Calling select() prior to kevent64().\n"); 386 count = select(kq + 1, &readfds, NULL, NULL, NULL); 388 perror("select");
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOHibernateIO.cpp | 45 Its assumed just allocating pages will cause the VM system to naturally select the best 1864 ProgressUpdate(hibernate_graphics_t * display, uint8_t * screen, int32_t firstBlob, int32_t select) argument 1883 lastBlob = (select < kIOHibernateProgressCount) ? select : (kIOHibernateProgressCount - 1); 1892 color = (blob < select) ? kIOHibernateProgressLightGray : kIOHibernateProgressMidGray;
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | kpi_vfs.c | 3359 *#% select vp U U U 3388 DTRACE_FSINFO(select, vnode_t, vp);
|