Searched refs:poll (Results 1 - 19 of 19) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dpoll.h61 * This file is intended to be compatible with the traditional poll.h.
65 * Requestable events. If poll(2) finds any of these set, they are
89 #define POLLERR 0x0008 /* some poll error occurred */
112 * This is defined here (instead of <poll.h>) because this is where
115 extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll); variable
H A DMakefile27 mbuf.h mman.h mount.h msg.h msgbuf.h netport.h param.h paths.h pipe.h poll.h \
/xnu-2782.1.97/tools/tests/libMicro/
H A DMakefile.benchmarks82 poll \
H A Dpoll.c38 #include <poll.h>
72 "notes: measures poll()\n",
195 if (poll(ts->ts_pfds, optn, 0) != target) {
H A Dconnection.c44 #include <sys/poll.h>
252 if (poll(&pollfd, 1, -1) == 1)
273 if (poll(&pollfd, 1, -1) != 1)
H A Dbench.sh446 poll $OPTS -N "poll_10" -n 10 -I 500
447 poll $OPTS -N "poll_100" -n 100 -I 1000
448 poll $OPTS -N "poll_1000" -n 1000 -I 5000
450 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
451 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
452 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
H A Dcoreos_bench.sh472 poll $OPTS -N "poll_10" -n 10 -I 500
473 poll $OPTS -N "poll_100" -n 100 -I 1000
474 poll $OPTS -N "poll_1000" -n 1000 -I 5000
476 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
477 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
478 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
H A Dembd_bench.sh457 poll $OPTS -N "poll_10" -n 10 -I 500
458 poll $OPTS -N "poll_100" -n 100 -I 1000
459 poll $OPTS -N "poll_1000" -n 1000 -I 5000
461 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
462 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
463 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
H A Dlibmicro.c48 #include <poll.h>
524 (void) poll(0, 0, 10);
/xnu-2782.1.97/bsd/man/man2/
H A DMakefile137 poll.2 \
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dsocket_tests.c11 #include <poll.h>
402 * Test fsync, getsockopt, poll, select, setsockopt, socketpair system calls.
529 /* test poll too */
533 my_err = poll( &my_pollfd, 1, 500 );
535 printf( "poll call failed with error %d - \"%s\" \n", errno, strerror( errno) );
540 printf( "poll should have returned ready for read \n" );
/xnu-2782.1.97/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl144 pathconf peeloff poll posix_spawn pread pwrite
/xnu-2782.1.97/bsd/net/
H A Ddlil.c537 "Q", "input poll mode freeze time");
545 "Q", "input poll sampling time");
553 "Q", "input poll interval (time)");
559 IF_RXPOLL_INTERVAL_PKTS, "input poll interval (packets)");
566 "I", "input poll wakeup low watermark");
573 "I", "input poll wakeup high watermark");
578 "max packets per poll call");
2118 * Caller may pass NULL for poll parameters to indicate "auto-tuning."
2217 "poll interval %llu nsec, pkts per poll
2272 ifnet_input_common(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s, boolean_t ext, boolean_t poll) argument
3157 dlil_input_stats_add(const struct ifnet_stat_increment_param *s, struct dlil_threading_info *inp, boolean_t poll) argument
[all...]
H A Dbpf.c100 #include <sys/poll.h>
905 * or poll()) and has expired and a packet(s)
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_pipe.c36 #include <sys/poll.h>
1044 * Audit pipe poll.
H A Daudit_session.c36 #include <sys/poll.h>
1949 * Audit session device poll method.
/xnu-2782.1.97/bsd/kern/
H A Dsys_generic.c94 #include <sys/poll.h>
1208 * To effect a poll, the timeout argument should be
1401 poll(struct proc *p, struct poll_args *uap, int32_t *retval) function
1478 /* convert the poll event into a kqueue kevent */
1538 /* poll is not restarted after signals... */
2411 * or without or poll mode
2432 * check for fast poll method
2444 * poll failed
2515 *retval = 1; // poll failed
H A Duipc_socket.c83 #include <sys/poll.h>
2677 * end up with false positives during select() or poll()
3598 * end up with false positives during select() or poll()
/xnu-2782.1.97/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c10 #include <poll.h>
67 /* Test kevent() or poll() */
85 /* Different parameters for poll() vs kevent() */
454 cnt = poll(&pl, 1, WAIT_TIME);
455 LOG(1, stderr, "Finished poll() call.\n");
572 * Same as above, but for a poll() test
1508 init_poll_test(&test, "10.1.1: does poll say I can write a regular file?", FILE1, 1, 1, POLLWRNORM, 1);
1514 init_poll_test(&test, "10.1.2: does poll say I can write an empty FIFO?", FILE1, 1, 1, POLLWRNORM, 1);
1521 init_poll_test(&test, "10.1.3: does poll say I can read a nonempty FIFO?", FILE1, 1, 1, POLLRDNORM, 1);
1529 init_poll_test(&test, "10.1.4: does poll sa
[all...]

Completed in 183 milliseconds