Searched refs:pollfds (Results 1 - 7 of 7) sorted by relevance

/freebsd-current/usr.sbin/bhyve/
H A Dnet_backend_slirp.c140 struct pollfd *pollfds; member in struct:slirp_priv
278 struct pollfd *pollfd, *pollfds; local
284 if (priv->pollfds[i].fd == -1)
290 pollfds = realloc(priv->pollfds,
291 sizeof(*pollfds) * priv->npollfds);
292 if (pollfds == NULL)
295 pollfds[i].fd = -1;
296 priv->pollfds = pollfds;
324 struct pollfd *pollfds; local
[all...]
/freebsd-current/contrib/wpa/src/utils/
H A Deloop.c83 size_t max_poll_fds; /* number of pollfds currently allocated */
84 struct pollfd *pollfds; member in struct:eloop_data
300 n = os_realloc_array(eloop.pollfds, nmax,
306 eloop.pollfds = n;
446 struct pollfd *pollfds,
462 pollfds[nxt].fd = fd;
463 pollfds[nxt].events = POLLIN;
464 pollfds[nxt].revents = 0;
465 pollfds_map[fd] = &(pollfds[nxt]);
480 pfd = &(pollfds[nx
443 eloop_sock_table_set_fds(struct eloop_sock_table *readers, struct eloop_sock_table *writers, struct eloop_sock_table *exceptions, struct pollfd *pollfds, struct pollfd **pollfds_map, int max_pollfd_map) argument
[all...]
/freebsd-current/lib/libusb/
H A Dlibusb10_io.c69 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry);
86 TAILQ_REMOVE(&ctx->pollfds, pollfd, entry);
114 TAILQ_FOREACH(pfd, &ctx->pollfds, entry)
125 TAILQ_FOREACH(pfd, &ctx->pollfds, entry) {
449 TAILQ_FOREACH(pollfd, &ctx->pollfds, entry)
457 TAILQ_FOREACH(pollfd, &ctx->pollfds, entry)
H A Dlibusb10.h107 TAILQ_HEAD(, libusb_super_pollfd) pollfds; member in struct:libusb_context
H A Dlibusb10.c197 TAILQ_INIT(&ctx->pollfds);
/freebsd-current/usr.sbin/rpcbind/
H A Drpcb_svc_com.c1088 struct pollfd pollfds[FD_SETSIZE + 1]; local
1098 p = pollfds;
1109 nfds = p - pollfds;
1114 for (i = 0, p = pollfds; i < nfds; i++, p++)
1120 poll_ret = poll(pollfds, nfds, 30 * 1000);
1148 for (i = 0, p = pollfds; i < nfds; i++, p++)
1161 if ((check_ret = check_rmtcalls(pollfds, nfds)) ==
1164 svc_getreq_poll(pollfds, poll_ret-check_ret);
/freebsd-current/lib/libc/isc/
H A Deventlib_p.h238 struct pollfd *pollfds; /* Allocated as needed */ member in struct:__anon153

Completed in 188 milliseconds