Searched refs:select (Results 1 - 21 of 21) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A D_select.h30 * 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 Deventvar.h60 #include <sys/select.h>
73 struct selinfo kq_sel; /* parent select/kqueue info */
H A Dproc.h74 #include <sys/select.h> /* For struct selinfo. */
H A Dtty.h75 #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 Dsocketvar.h79 #include <sys/select.h> /* for struct selinfo */
/xnu-2782.1.97/tools/tests/perf_index/
H A Dtest_controller.py5 import select
13 rl, _, _ = select.select(client_sockets_set, [], [])
/xnu-2782.1.97/libsyscall/wrappers/
H A Dselect-base.c29 #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 Dbpfdesc.h78 #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 Dselect.c68 "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 Dlmbench_select_file.c399 select(ts->num, 0, &nosave, 0, &tv);
400 //(void) fprintf(stderr, "benchmark: select result is %i\n",sel_res);
H A Dlmbench_select_tcp.c616 select(ts->num, 0, &nosave, 0, &tv);
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.h37 #include <sys/select.h>
H A Dmain.c49 #include <sys/select.h>
80 {1, &socket2_tests, NULL, "fsync, getsockopt, poll, select, setsockopt, socketpair"},
H A Dsocket_tests.c402 * 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 Dsocket_info.c35 #include <sys/select.h>
H A Dsubr_log.c76 #include <sys/select.h>
101 struct selinfo sc_selp; /* thread waiting for select */
H A Dkern_event.c69 #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 Dsys_generic.c136 /* 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 DKQMPMMtest.c17 #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 DIOHibernateIO.cpp45 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 Dkpi_vfs.c3359 *#% select vp U U U
3388 DTRACE_FSINFO(select, vnode_t, vp);

Completed in 207 milliseconds