Home
last modified time | relevance | path

Searched refs:pollfds (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/bsd/libbind/dist/isc/
H A Deventlib.c92 ctx->pollfds = NULL; in evCreate()
781 fds = &(ctx->pollfds[ctx->firstfd]); in pselect()
793 if (ctx->pollfds[i].fd < 0) in pselect()
818 void *pollfds, *fdTable; in evPollfdRealloc() local
829 pollfds = realloc(ctx->pollfds, maxnfds * sizeof(*ctx->pollfds)); in evPollfdRealloc()
830 if (pollfds != NULL) in evPollfdRealloc()
831 ctx->pollfds = pollfds; in evPollfdRealloc()
836 if (pollfds == NULL || fdTable == NULL) { in evPollfdRealloc()
843 ctx->pollfds[i].fd = -1; in evPollfdRealloc()
844 ctx->pollfds[i].events = 0; in evPollfdRealloc()
[all …]
H A Deventlib_p.h234 struct pollfd *pollfds; /* Allocated as needed */ member
/netbsd-src/usr.sbin/rpcbind/
H A Drpcb_svc_com.c1108 struct pollfd *pollfds; in my_svc_run() local
1117 pollfds = NULL; in my_svc_run()
1123 if (reallocarr(&pollfds, in my_svc_run()
1124 newfdcount, sizeof(*pollfds)) != 0) { in my_svc_run()
1132 p = pollfds; in my_svc_run()
1142 nfds = p - pollfds; in my_svc_run()
1148 for (i = 0, p = pollfds; i < nfds; i++, p++) in my_svc_run()
1155 poll_ret = rump_sys_poll(pollfds, nfds, 30 * 1000); in my_svc_run()
1157 poll_ret = poll(pollfds, nfds, 30 * 1000); in my_svc_run()
1181 for (i = 0, p = pollfds; i < nfds; i++, p++) in my_svc_run()
[all …]
/netbsd-src/lib/libc/isc/
H A Deventlib_p.h234 struct pollfd *pollfds; /* Allocated as needed */ member