Searched refs:pollfd (Results 1 - 25 of 183) sorted by relevance

12345678

/freebsd-current/tools/tools/netmap/
H A Dbridge.c198 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 Dbsd-poll.h41 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 Dbsd-poll.c46 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 Dutils.h35 void check_audit(struct pollfd [], const char *, FILE *);
36 FILE *setup(struct pollfd [], const char *);
H A Dutils.c145 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 Dioctl.c40 static struct pollfd fds[1];
/freebsd-current/contrib/bmake/
H A Djob.h90 #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 Dpoll.c40 poll(struct pollfd pfd[], nfds_t nfds, int timeout)
H A Dppoll.c40 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dpoll.c76 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 Ddevpoll.c57 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 Dpoll.h45 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 Dpoll.c76 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 Ddevpoll.c57 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 Dlibusb10_io.c52 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 Dlibusb10.h67 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 Dt_poll.c49 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 Datomicio.c44 struct pollfd pfd;
/freebsd-current/contrib/pf/libevent/
H A Dpoll.c63 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 Dnet_backend_slirp.c140 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 Dfifolog_writer.c56 struct pollfd pfd[1];
/freebsd-current/contrib/libfido2/src/
H A Dhid_unix.c54 struct pollfd pfd;
/freebsd-current/usr.bin/talk/
H A Dctl_transact.c52 struct pollfd pfd[1];
/freebsd-current/lib/libsys/
H A Drecvmmsg.c41 struct pollfd pfd[1];
/freebsd-current/tests/sys/file/
H A Dpath_test.c493 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...]

Completed in 291 milliseconds

12345678