Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 25) sorted by relevance

/xnu-11215/tests/
H A Dpoll.c38 T_ASSERT_POSIX_SUCCESS(poll(&pfd, 0, POLL_TIMEOUT_MS),
70 T_EXPECT_POSIX_SUCCESS(poll(pfd, 1, -1), "poll() with a directory");
77 T_EXPECT_POSIX_SUCCESS(poll(pfd, 2, -1),
86 T_EXPECT_POSIX_SUCCESS(poll(pfd, 2, -1),
95 T_EXPECT_POSIX_SUCCESS(poll(pfd, 2, -1),
105 T_EXPECT_POSIX_SUCCESS(poll(pfd, 3, -1),
123 T_EXPECT_POSIX_SUCCESS(poll(pfd, 3, -1),
176 poll(fds, 2, 5000);
H A Duipc_sosendcheck.c26 T_QUIET; T_ASSERT_POSIX_SUCCESS(poll(pfd, 1, -1), "poll"); in do_recv()
58 int res = poll(pfd, 1, -1); in do_send()
H A Dsocket_poll_close_25786011.c30 ret = poll(&my_pollfd, 1, 0);
H A Dpoll_select_kevent_paired_fds.c568 int pol = poll(fds, 1, READ_TIMEOUT_SECS * 1000); in read_from_fd()
921 RD_DECL(desc_name, fd_pair, poll, POLL_READ) \
H A Dkqueue_file_tests.c574 cnt = poll(&pl, 1, WAIT_TIME); in execute_test()
/xnu-11215/osfmk/console/
H A Dserial_console.c252 _cnputc(char c, bool poll) in _cnputc() argument
257 poll = poll || in_debugger; in _cnputc()
260 _cnputc('\r', poll); in _cnputc()
263 cons_ops[idx].putc(c, poll); in _cnputc()
279 _cnputs(char *c, int size, bool poll) in _cnputs() argument
288 _cnputc(*c, poll); in _cnputs()
H A Dvideo_console.c1231 vcputc_options(char c, __unused bool poll) in vcputc_options() argument
/xnu-11215/bsd/sys/
H A Dpoll.h114 extern int poll(struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll);
H A DMakefile40 mbuf.h mman.h mount.h msg.h msgbuf.h netport.h param.h paths.h pipe.h poll.h \
/xnu-11215/pexpert/arm/
H A Dpe_kprintf.c166 serial_putc_options(char c, bool poll) in serial_putc_options() argument
168 uart_putc_options(c, poll); in serial_putc_options()
H A Dpe_serial.c1010 uart_putc_device(char c, bool poll, bool force, struct pe_serial_functions *fns) in uart_putc_device() argument
1017 if (irq_available_and_ready(fns) && !poll) { in uart_putc_device()
1035 uart_putc_options(char c, bool poll) in uart_putc_options() argument
1040 uart_putc_device(c, poll, false, fns); in uart_putc_options()
/xnu-11215/tests/skywalk/
H A Dskt_shutdown.c102 error = poll(&sock_fds, 1, -1); in skt_shutdown_common()
113 error = poll(&fds, 1, -1); in skt_shutdown_common()
269 error = poll(&sock_fds, 1, -1); in skt_shutdown_common()
280 error = poll(&fds, 1, -1); in skt_shutdown_common()
H A Dskt_oneslot.c103 error = poll(&fds, 1, -1); in skt_oneslot_common()
166 error = poll(&fds, 1, -1); in skt_oneslot_common()
H A Dskt_badring.c106 error = poll(&fds, 1, 0); in skt_badringtx_common()
225 error = poll(&fds, 1, 0); in skt_badringrx_common()
H A Dskt_nslots.c144 error = poll(&fds, 1, -1); in skt_nslots_common()
214 error = poll(&fds, 1, -1); in skt_nslots_common()
H A Dskt_shutdown2.c102 error = poll(&fds, 1, -1); in skt_shutdown2_common()
H A Dskywalk_test_utils.c1030 error = poll(&fds, 1, -1); in sktc_pump_ring_nslots_poll()
/xnu-11215/bsd/skywalk/nexus/netif/
H A Dnx_netif_poll.c375 boolean_t poll, poll_again = false; in netif_rxpoll_compat_thread_cont() local
379 poll = (ifp->if_poll_mode == IFNET_MODEL_INPUT_POLL_ON); in netif_rxpoll_compat_thread_cont()
393 if (poll) { in netif_rxpoll_compat_thread_cont()
H A Dnx_netif_compat.c65 boolean_t poll, struct thread *tp);
1050 boolean_t poll, struct thread *tp) in nx_netif_compat_receive() argument
1067 ASSERT(poll); in nx_netif_compat_receive()
1175 if (poll) { in nx_netif_compat_receive()
1185 if (!poll && ifp_rxpoll) { in nx_netif_compat_receive()
/xnu-11215/bsd/man/man2/
H A DMakefile153 poll.2 \
/xnu-11215/pexpert/i386/
H A Dpe_serial.c649 serial_putc_options( char c, __unused bool poll ) in serial_putc_options() argument
/xnu-11215/bsd/net/
H A Ddlil.c386 boolean_t poll, struct thread *tp);
3574 if ((m_head == NULL && !poll) || (s == NULL && ext)) { in ifnet_input_common()
3740 boolean_t poll, struct thread *tp) in dlil_input_handler() argument
3884 ((!poll && inp->dlth_driver_thread == THREAD_NULL) || in dlil_input_async()
3885 (poll && inp->dlth_poller_thread == THREAD_NULL))) { in dlil_input_async()
3888 if (poll) { in dlil_input_async()
3982 dlil_input_stats_add(&s_adj, inp, ifp, poll); in dlil_input_async()
4082 dlil_input_stats_add(&s_adj, inp, ifp, poll); in dlil_input_sync()
5839 if (poll) { in dlil_input_stats_add()
9941 boolean_t poll, struct thread *tp) in ifp_if_input() argument
[all …]
H A Dif_var_private.h591 boolean_t poll, struct thread *tp);
/xnu-11215/osfmk/kern/
H A Dsmr.c883 #pragma mark SMR domains: advance, wait, poll, synchronize
/xnu-11215/bsd/kern/
H A Dsys_generic.c1682 poll(struct proc *p, struct poll_args *uap, int32_t *retval) in poll() function