/freebsd-current/tools/tools/netmap/ |
H A D | bridge.c | 198 struct pollfd pollfd[2]; local 293 memset(pollfd, 0, sizeof(pollfd)); 294 pollfd[0].fd = pa->fd; 295 pollfd[1].fd = pb->fd; 320 pollfd[0].events = pollfd[1].events = 0; 321 pollfd[0].revents = pollfd[ [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 41 typedef struct pollfd { struct 83 int poll(struct pollfd *, nfds_t, int); 87 int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
|
H A D | bsd-poll.c | 46 ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmoutp, 100 poll(struct pollfd *fds, nfds_t nfds, int timeout)
|
/freebsd-current/tests/sys/audit/ |
H A D | utils.h | 35 void check_audit(struct pollfd [], const char *, FILE *); 36 FILE *setup(struct pollfd [], const char *);
|
H A D | utils.c | 145 check_auditpipe(struct pollfd fd[], const char *auditregex, FILE *pipestream) 197 check_audit_startup(struct pollfd fd[], const char *auditrgx, FILE *pipestream){ 202 check_audit(struct pollfd fd[], const char *auditrgx, FILE *pipestream) { 257 setup(struct pollfd fd[], const char *name)
|
H A D | ioctl.c | 40 static struct pollfd fds[1];
|
/freebsd-current/contrib/bmake/ |
H A D | job.h | 90 #define pollfd emul_pollfd macro 101 int emul_poll(struct pollfd *, int, int); 110 struct pollfd; 170 struct pollfd *inPollfd; /* pollfd associated with inPipe */
|
/freebsd-current/lib/libc/sys/ |
H A D | poll.c | 40 poll(struct pollfd pfd[], nfds_t nfds, int timeout)
|
H A D | ppoll.c | 40 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | poll.c | 76 struct pollfd *event_set; 77 struct pollfd *event_set_copy; 127 struct pollfd *pfd = &pop->event_set[i]; 141 struct pollfd *event_set; 155 struct pollfd *tmp = mm_realloc(pop->event_set_copy, 156 pop->event_count * sizeof(struct pollfd)); 165 sizeof(struct pollfd)*nfds); 233 struct pollfd *pfd = NULL; 243 struct pollfd *tmp_event_set; 253 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-current/sys/sys/ |
H A D | poll.h | 45 struct pollfd { struct 113 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout); 115 int ppoll(struct pollfd _pfd[], nfds_t _nfds,
|
/freebsd-current/contrib/libevent/ |
H A D | poll.c | 76 struct pollfd *event_set; 77 struct pollfd *event_set_copy; 127 struct pollfd *pfd = &pop->event_set[i]; 141 struct pollfd *event_set; 155 struct pollfd *tmp = mm_realloc(pop->event_set_copy, 156 pop->event_count * sizeof(struct pollfd)); 165 sizeof(struct pollfd)*nfds); 233 struct pollfd *pfd = NULL; 243 struct pollfd *tmp_event_set; 253 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-current/lib/libusb/ |
H A D | libusb10_io.c | 52 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, argument 58 if (pollfd->entry.tqe_prev != NULL) 64 pollfd->pdev = pdev; 65 pollfd->pollfd.fd = fd; 66 pollfd->pollfd.events = events; 69 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry); 77 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) argument 82 if (pollfd 440 struct libusb_super_pollfd *pollfd; local [all...] |
H A D | libusb10.h | 67 struct libusb_pollfd pollfd; member in struct:libusb_super_pollfd 139 void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_device *pdev, int fd, short events); 140 void libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd);
|
/freebsd-current/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-current/contrib/netcat/ |
H A D | atomicio.c | 44 struct pollfd pfd;
|
/freebsd-current/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-current/usr.sbin/bhyve/ |
H A D | net_backend_slirp.c | 140 struct pollfd *pollfds; 278 struct pollfd *pollfd, *pollfds; local 300 pollfd = &priv->pollfds[i]; 301 pollfd->fd = fd; 302 pollfd->events = slirpev2pollev(events); 303 pollfd->revents = 0; 312 struct pollfd *pollfd; local 315 pollfd [all...] |
/freebsd-current/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 56 struct pollfd pfd[1];
|
/freebsd-current/contrib/libfido2/src/ |
H A D | hid_unix.c | 54 struct pollfd pfd;
|
/freebsd-current/usr.bin/talk/ |
H A D | ctl_transact.c | 52 struct pollfd pfd[1];
|
/freebsd-current/lib/libsys/ |
H A D | recvmmsg.c | 41 struct pollfd pfd[1];
|
/freebsd-current/tests/sys/file/ |
H A D | path_test.c | 493 struct pollfd pollfd; local 502 pollfd.fd = pathfd; 503 pollfd.events = POLLIN; 504 pollfd.revents = 0; 505 ATF_REQUIRE_MSG(poll(&pollfd, 1, 0) == 1, FMT_ERR("poll")); 506 ATF_REQUIRE_MSG(pollfd.revents == POLLNVAL, "unexpected revents %x", 507 pollfd.revents); 508 pollfd.events = POLLOUT; 509 pollfd [all...] |