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

1234567

/freebsd-11-stable/tests/sys/audit/
H A Dutils.h37 void check_audit(struct pollfd [], const char *, FILE *);
38 FILE *setup(struct pollfd [], const char *);
H A Dutils.c143 check_auditpipe(struct pollfd fd[], const char *auditregex, FILE *pipestream)
190 check_audit_startup(struct pollfd fd[], const char *auditrgx, FILE *pipestream){
195 check_audit(struct pollfd fd[], const char *auditrgx, FILE *pipestream) {
203 *setup(struct pollfd fd[], const char *name)
H A Dioctl.c42 static struct pollfd fds[1];
/freebsd-11-stable/lib/libc/sys/
H A Dpoll.c44 poll(struct pollfd pfd[], nfds_t nfds, int timeout)
47 return (((int (*)(struct pollfd *, nfds_t, int))
H A Dppoll.c44 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict
48 return (((int (*)(struct pollfd *, nfds_t, const struct timespec *,
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
/freebsd-11-stable/tools/tools/netmap/
H A Dbridge.c175 struct pollfd pollfd[2]; local
271 memset(pollfd, 0, sizeof(pollfd));
272 pollfd[0].fd = pa->fd;
273 pollfd[1].fd = pb->fd;
285 pollfd[0].events = pollfd[1].events = 0;
286 pollfd[0].revents = pollfd[
[all...]
/freebsd-11-stable/sys/sys/
H A Dpoll.h45 struct pollfd { struct
112 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
114 int ppoll(struct pollfd _pfd[], nfds_t _nfds,
/freebsd-11-stable/contrib/bmake/
H A Djob.h92 #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-11-stable/contrib/ntp/sntp/libevent/
H A Dpoll.c65 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 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-11-stable/lib/libusb/
H A Dlibusb10_io.c51 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
431 struct libusb_super_pollfd *pollfd; local
[all...]
H A Dlibusb10.h66 struct libusb_pollfd pollfd; member in struct:libusb_super_pollfd
138 void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_device *pdev, int fd, short events);
139 void libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd);
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dpoll.c78 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));
429 apr_pollfd_t *pollfd local
[all...]
H A Dport.c561 apr_pollfd_t *pollfd = (apr_pollfd_t *)(pollcb->pollset.port[i].portev_user); local
564 pollfd->desc_type == APR_POLL_FILE &&
565 pollfd->desc.f == pollcb->wakeup_pipe[0]) {
570 pollfd->rtnevents = get_revent(pollcb->pollset.port[i].portev_events);
572 rv = func(baton, pollfd);
576 rv = apr_pollcb_add(pollcb, pollfd);
/freebsd-11-stable/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-11-stable/contrib/netcat/
H A Datomicio.c44 struct pollfd pfd;
/freebsd-11-stable/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-11-stable/crypto/openssh/
H A Datomicio.c58 struct pollfd pfd;
108 struct pollfd pfd;
/freebsd-11-stable/usr.bin/talk/
H A Dctl_transact.c56 struct pollfd pfd[1];
/freebsd-11-stable/lib/libc/gen/
H A Drecvmmsg.c44 struct pollfd pfd[1];
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c58 struct pollfd pfd[1];
/freebsd-11-stable/contrib/gdb/gdb/
H A Devent-loop.c141 /* 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-11-stable/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c58 struct pollfd pfd;
111 struct pollfd pfd;
/freebsd-11-stable/tools/regression/poll/
H A Dsockpoll.c78 static struct pollfd pfd0;
79 static struct pollfd pfd1;

Completed in 368 milliseconds

1234567