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

/darwin-on-arm/xnu/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.h77 #include <sys/select.h> /* for struct selinfo */
/darwin-on-arm/xnu/libsyscall/wrappers/cancelable/
H A Dmodule.mk6 select.c \
7 select-cancel.c \
/darwin-on-arm/xnu/libsyscall/wrappers/legacy/
H A Dmodule.mk12 select.c \
24 select-pre1050.c \
/darwin-on-arm/xnu/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
/darwin-on-arm/xnu/bsd/net/
H A Dbpfdesc.h78 #include <sys/select.h>
126 struct selinfo bd_sel; /* bsd select info */
131 thread_call_t bd_thread_call; /* for BPF timeouts with select */
140 #define BPF_IDLE 0 /* no select in progress or kqueue pending */
141 #define BPF_WAITING 1 /* waiting for read timeout in select/kqueue */
142 #define BPF_TIMED_OUT 2 /* read timeout has expired in select/kqueue */
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dselect.c68 "notes: measures select()\n",
191 if (select(maxfd, my_iset, my_oset, NULL, &tv) != target) {
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.h37 #include <sys/select.h>
H A Dmain.c49 #include <sys/select.h>
85 {1, &socket2_tests, NULL, "fsync, getsockopt, poll, select, setsockopt, socketpair"},
H A Dsocket_tests.c406 * Test fsync, getsockopt, poll, select, setsockopt, socketpair system calls.
509 /* test select by using it to wait for message from parent */
522 my_err = select( (my_sockets[1] + 1), &my_read_set, NULL, NULL, &my_timeout );
524 printf( "select call failed with error %d - \"%s\" \n", errno, strerror( errno) );
/darwin-on-arm/xnu/osfmk/arm/armv/
H A Dcpufunc-v7.s339 mcr p15, 2, r3, c0, c0, 0 @ select cache level
381 mcr p15, 2, r0, c0, c0, 0 @ select cache level
402 mcr p15, 2, r3, c0, c0, 0 @ select cache level
444 mcr p15, 2, r0, c0, c0, 0 @ select cache level
/darwin-on-arm/xnu/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>
1154 * make sure it is unlinked from all its containing (select) sets.
2189 * the kqueue onto the wait queue set for the select(). Normally we
2193 * (The select() call will unlink them when it ends).
H A Dsys_generic.c132 /* for wait queue based select */
973 select(struct proc *p, struct select_args *uap, int32_t *retval) function
1000 /* select on thread of process that already called proc_exit() */
1016 * Note: If this process fails, select() will return EAGAIN; this
1018 * it is not a POSIX compliant error code for select().
1100 panic("select: wql memory smashed");
1101 /* needed for the select now */
1183 /* skip scans if the select is just for timeouts */
1197 /* if the select of log, then we canwakeup and discover some one
1240 /* if the select i
[all...]
/darwin-on-arm/xnu/tools/tests/MPMMTest/
H A DKQMPMMtest.c19 #include <sys/select.h>
102 fprintf(stderr, " -select \t\tselect prior to calling kevent().\n");
202 } else if (0 == strcmp("-select", argv[0])) {
388 printf("Calling select() prior to kevent64().\n");
390 count = select(kq + 1, &readfds, NULL, NULL, NULL);
392 perror("select");
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOHibernateIO.cpp45 Its assumed just allocating pages will cause the VM system to naturally select the best
1592 ProgressUpdate(hibernate_graphics_t * display, uint8_t * screen, int32_t firstBlob, int32_t select) argument
1611 lastBlob = (select < kIOHibernateProgressCount) ? select : (kIOHibernateProgressCount - 1);
1620 color = (blob < select) ? kIOHibernateProgressLightGray : kIOHibernateProgressMidGray;
/darwin-on-arm/xnu/osfmk/console/
H A Dvideo_console.c2880 vc_draw_progress_meter(int select, unsigned int flags, int x1, int x2) argument
2906 data = progressmeter_leftcap[vc_uiselect & 1][select & 1];
2920 data = progressmeter_middle[vc_uiselect & 1][select & 1];
2930 data = progressmeter_rightcap[vc_uiselect & 1][select & 1];

Completed in 88 milliseconds