Searched refs:pollfd (Results 1 – 8 of 8) sorted by relevance
| /xnu-10063.101.15/bsd/sys/ |
| H A D | poll.h | 96 struct pollfd { struct 114 extern int poll(struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll); argument
|
| H A D | event_private.h | 535 struct pollfd *kec_poll_fds; /* poll fds */
|
| /xnu-10063.101.15/tests/ |
| H A D | poll.c | 30 struct pollfd pfd = { .fd = 0, .events = 0, .revents = 0 }; 56 struct pollfd pfd[] = { 167 struct pollfd fds[2] = {};
|
| H A D | uipc_sosendcheck.c | 25 struct pollfd pfd[1] = { { sk, POLLIN, 0 } }; in do_recv() 57 struct pollfd pfd[1] = { { sk, POLLOUT, 0 } }; in do_send()
|
| H A D | socket_poll_close_25786011.c | 20 struct pollfd my_pollfd = {
|
| H A D | poll_select_kevent_paired_fds.c | 563 struct pollfd fds[] = { { .fd = fd, .events = POLLIN } }; in read_from_fd()
|
| H A D | kqueue_file_tests.c | 571 struct pollfd pl; in execute_test()
|
| /xnu-10063.101.15/bsd/kern/ |
| H A D | sys_generic.c | 1693 struct pollfd *fds = NULL; in poll_nocancel() 1699 size_t ni = nfds * sizeof(struct pollfd); in poll_nocancel() 1719 fds = (struct pollfd *)kalloc_data(ni, Z_WAITOK); in poll_nocancel() 1725 error = copyin(uap->fds, fds, nfds * sizeof(struct pollfd)); in poll_nocancel() 1839 error = copyout(fds, uap->fds, nfds * sizeof(struct pollfd)); in poll_nocancel() 1854 struct pollfd *fds = &kectx->kec_poll_fds[kevp->udata]; in poll_callback()
|