/freebsd-10.2-release/lib/libc/sys/ |
H A D | poll.c | 44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) 47 return (((int (*)(struct pollfd *, nfds_t, int))
|
H A D | ppoll.c | 44 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict 48 return (((int (*)(struct pollfd *, nfds_t, const struct timespec *,
|
/freebsd-10.2-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 34 typedef struct pollfd { struct 59 int poll(struct pollfd *, nfds_t, int);
|
/freebsd-10.2-release/sys/sys/ |
H A D | poll.h | 45 struct pollfd { struct 112 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout); 114 int ppoll(struct pollfd _pfd[], nfds_t _nfds,
|
/freebsd-10.2-release/lib/libkse/thread/ |
H A D | thr_poll.c | 47 int __poll(struct pollfd *fds, unsigned int nfds, int timeout); 52 __poll(struct pollfd *fds, unsigned int nfds, int timeout)
|
/freebsd-10.2-release/tools/tools/netmap/ |
H A D | bridge.c | 160 struct pollfd pollfd[2]; local 247 memset(pollfd, 0, sizeof(pollfd)); 248 pollfd[0].fd = pa->fd; 249 pollfd[1].fd = pb->fd; 261 pollfd[0].events = pollfd[1].events = 0; 262 pollfd[0].revents = pollfd[ [all...] |
/freebsd-10.2-release/contrib/bmake/ |
H A D | job.h | 92 #define pollfd emul_pollfd macro 104 emul_poll(struct pollfd *fd, int nfd, int timeout); 137 struct pollfd; 169 struct pollfd *inPollfd; /* pollfd associated with inPipe */
|
/freebsd-10.2-release/contrib/ntp/sntp/libevent/ |
H A D | poll.c | 65 struct pollfd *event_set; 66 struct pollfd *event_set_copy; 116 struct pollfd *pfd = &pop->event_set[i]; 130 struct pollfd *event_set; 144 struct pollfd *tmp = mm_realloc(pop->event_set_copy, 145 pop->event_count * sizeof(struct pollfd)); 154 sizeof(struct pollfd)*nfds); 220 struct pollfd *pfd = NULL; 230 struct pollfd *tmp_event_set; 240 tmp_event_count * sizeof(struct pollfd)); [all...] |
H A D | devpoll.c | 57 struct pollfd *events; 60 struct pollfd *changes; 92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) 101 struct pollfd *pfd; 146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); 154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); 171 struct pollfd *events = devpollop->events;
|
/freebsd-10.2-release/lib/libusb/ |
H A D | libusb10.h | 62 struct libusb_pollfd pollfd; member in struct:libusb_super_pollfd 113 void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_device *pdev, int fd, short events); 114 void libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd);
|
H A D | libusb10_io.c | 51 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, argument 57 if (pollfd->entry.tqe_prev != NULL) 63 pollfd->pdev = pdev; 64 pollfd->pollfd.fd = fd; 65 pollfd->pollfd.events = events; 68 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry); 76 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) argument 81 if (pollfd 425 struct libusb_super_pollfd *pollfd; local [all...] |
/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_poll.c | 49 struct pollfd pfd; 61 struct pollfd pfd; 74 struct pollfd pfd; 159 struct pollfd pfds[2]; 223 struct pollfd pfd; 230 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); 248 struct pollfd pfds[2]; 318 struct pollfd pfd; 348 struct pollfd pfd;
|
/freebsd-10.2-release/contrib/apr/poll/unix/ |
H A D | poll.c | 78 struct pollfd pollset[num]; 80 struct pollfd *pollset = alloca(sizeof(struct pollfd) * num); 84 struct pollfd tmp_pollset[SMALL_POLLSET_LIMIT]; 85 struct pollfd *pollset; 94 pollset = malloc(sizeof(struct pollfd) * num); 152 struct pollfd *pollset; 171 pollset->p->pollset = apr_palloc(p, size * sizeof(struct pollfd)); 331 pollcb->pollset.ps = apr_palloc(p, size * sizeof(struct pollfd)); 418 apr_pollfd_t *pollfd local [all...] |
/freebsd-10.2-release/contrib/netcat/ |
H A D | atomicio.c | 44 struct pollfd pfd;
|
/freebsd-10.2-release/contrib/pf/libevent/ |
H A D | poll.c | 63 struct pollfd *event_set; 142 struct pollfd *pfd = &pop->event_set[i]; 218 struct pollfd *pfd = NULL; 228 struct pollfd *tmp_event_set; 240 tmp_event_count * sizeof(struct pollfd)); 323 struct pollfd *pfd = NULL; 358 * Shift the last pollfd down into the now-unoccupied 362 sizeof(struct pollfd));
|
/freebsd-10.2-release/crypto/openssh/ |
H A D | atomicio.c | 57 struct pollfd pfd; 107 struct pollfd pfd;
|
H A D | monitor_fdpass.c | 61 struct pollfd pfd; 123 struct pollfd pfd;
|
/freebsd-10.2-release/contrib/wpa/src/utils/ |
H A D | eloop.c | 63 struct pollfd *pollfds; 64 struct pollfd **pollfds_map; 155 struct pollfd **nmap; 157 sizeof(struct pollfd *)); 166 struct pollfd *n; 169 sizeof(struct pollfd)); 229 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) 240 struct pollfd *pollfds, 241 struct pollfd **pollfds_ma [all...] |
/freebsd-10.2-release/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 56 struct pollfd pfd[1];
|
/freebsd-10.2-release/contrib/gdb/gdb/ |
H A D | event-loop.c | 141 /* Ptr to array of pollfd structures. */ 142 struct pollfd *poll_fds; 439 struct pollfd fds; 512 (struct pollfd *) xrealloc (gdb_notifier.poll_fds, 514 * sizeof (struct pollfd))); 517 (struct pollfd *) xmalloc (sizeof (struct pollfd)); 562 struct pollfd *new_poll_fds; 584 (struct pollfd *) xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd)); [all...] |
/freebsd-10.2-release/contrib/netbsd-tests/net/fdpass/ |
H A D | fdpass.c | 58 struct pollfd pfd; 111 struct pollfd pfd;
|
/freebsd-10.2-release/tools/regression/poll/ |
H A D | sockpoll.c | 78 static struct pollfd pfd0; 79 static struct pollfd pfd1;
|
/freebsd-10.2-release/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 125 struct pollfd pollfd; local 394 pollfd.fd = fd_cap; 395 pollfd.events = POLLIN | POLLERR | POLLHUP; 396 pollfd.revents = 0; 398 ret = poll(&pollfd, 1, 0); 400 CHECK((pollfd.revents & POLLNVAL) == 0); 402 CHECK((pollfd.revents & POLLNVAL) != 0);
|
/freebsd-10.2-release/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 58 struct pollfd pfd;
|
/freebsd-10.2-release/contrib/apr/support/unix/ |
H A D | waitio.c | 43 struct pollfd pfd;
|