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

12345

/freebsd-10-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-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
/freebsd-10-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-10-stable/lib/libkse/thread/
H A Dthr_poll.c47 int __poll(struct pollfd *fds, unsigned int nfds, int timeout);
52 __poll(struct pollfd *fds, unsigned int nfds, int timeout)
/freebsd-10-stable/tools/tools/netmap/
H A Dbridge.c160 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-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-10-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-10-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-10-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-10-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));
330 pollcb->pollset.ps = apr_palloc(p, size * sizeof(struct pollfd));
428 apr_pollfd_t *pollfd local
[all...]
/freebsd-10-stable/contrib/netcat/
H A Datomicio.c44 struct pollfd pfd;
/freebsd-10-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-10-stable/crypto/openssh/
H A Datomicio.c58 struct pollfd pfd;
108 struct pollfd pfd;
H A Dmonitor_fdpass.c66 struct pollfd pfd;
128 struct pollfd pfd;
/freebsd-10-stable/contrib/wpa/src/utils/
H A Deloop.c63 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-stable/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c56 struct pollfd pfd[1];
/freebsd-10-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-10-stable/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c58 struct pollfd pfd;
111 struct pollfd pfd;
/freebsd-10-stable/tools/regression/poll/
H A Dsockpoll.c78 static struct pollfd pfd0;
79 static struct pollfd pfd1;
/freebsd-10-stable/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c125 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-stable/contrib/apr/support/unix/
H A Dwaitio.c43 struct pollfd pfd;
/freebsd-10-stable/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c67 struct pollfd pfd[2];

Completed in 162 milliseconds

12345