| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | poll.d | 52 struct pollfd in version() struct 61 int poll(pollfd*, nfds_t, int); in version() 65 struct pollfd in version() struct 74 int poll(pollfd*, nfds_t, int); in version() 80 struct pollfd in version() struct 87 int poll(pollfd*, nfds_t, int); in version() 93 struct pollfd in version() struct 100 int poll(pollfd*, nfds_t, int); in version() 106 struct pollfd in version() struct 113 int poll(pollfd*, nfds_t, int); in version() [all …]
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | poll.c | 79 struct pollfd *event_set; 80 struct pollfd *event_set_copy; 130 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() 144 struct pollfd *event_set; in poll_dispatch() 158 struct pollfd *tmp = mm_realloc(pop->event_set_copy, in poll_dispatch() 159 pop->event_count * sizeof(struct pollfd)); in poll_dispatch() 168 sizeof(struct pollfd)*nfds); in poll_dispatch() 236 struct pollfd *pfd = NULL; in poll_add() 246 struct pollfd *tmp_event_set; in poll_add() 256 tmp_event_count * sizeof(struct pollfd)); in poll_add() [all …]
|
| H A D | devpoll.c | 60 struct pollfd *events; 63 struct pollfd *changes; 95 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 104 struct pollfd *pfd; in devpoll_queue() 149 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 157 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 174 struct pollfd *events = devpollop->events; in devpoll_dispatch()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | poll_fd.c | 234 struct pollfd pollfd; in poll_fd_sysv() local 241 pollfd.fd = fd; in poll_fd_sysv() 243 pollfd.events = POLLIN; in poll_fd_sysv() 245 pollfd.events = POLLOUT; in poll_fd_sysv() 251 switch (poll(&pollfd, 1, time_limit < 0 ? in poll_fd_sysv() 263 if (pollfd.revents & POLLNVAL) in poll_fd_sysv()
|
| /netbsd-src/sys/sys/ |
| H A D | poll.h | 39 struct pollfd { struct 76 int pollcommon(register_t *, struct pollfd *, u_int, 83 int poll(struct pollfd *, nfds_t, int); 97 int pollts(struct pollfd * __restrict, nfds_t, 101 int ppoll(struct pollfd * __restrict, nfds_t, 40 fdpollfd global() argument 41 eventspollfd global() argument 42 reventspollfd global() argument
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
| H A D | devpoll.c | 59 struct pollfd *events; 62 struct pollfd *changes; 94 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 103 struct pollfd *pfd; in devpoll_queue() 148 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 156 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 173 struct pollfd *events = devpollop->events; in devpoll_dispatch()
|
| /netbsd-src/usr.bin/make/ |
| H A D | job.h | 90 #define pollfd emul_pollfd macro 101 int emul_poll(struct pollfd *, int, int); 110 struct pollfd; 170 struct pollfd *inPollfd; /* pollfd associated with inPipe */
|
| /netbsd-src/lib/libc/rpc/ |
| H A D | svc_fdset.c | 68 struct pollfd *fdp; 167 svc_pollfd_init(struct pollfd *pfd, int nfd) in svc_pollfd_init() 176 static struct pollfd * 194 struct pollfd *pfd; in svc_pollfd_add() 225 struct pollfd *pfd; in svc_pollfd_del() 438 struct pollfd * 439 svc_pollfd_copy(const struct pollfd *orig) in svc_pollfd_copy() 444 struct pollfd *copy = calloc(size, sizeof(*orig)); in svc_pollfd_copy() 452 struct pollfd *
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_poll.c | 51 struct pollfd pfd; in child1() 63 struct pollfd pfd; in child2() 76 struct pollfd pfd; in child3() 161 struct pollfd pfds[2]; in ATF_TC_BODY() 225 struct pollfd pfd; in ATF_TC_BODY() 232 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY() 265 struct pollfd pfd[2]; in ATF_TC_BODY() 372 struct pollfd pfd; in ATF_TC_BODY() 417 struct pollfd pfd; in ATF_TC_BODY()
|
| H A D | t_pollts.c | 59 struct pollfd pfds[2]; in ATF_TC_BODY() 129 struct pollfd pfd; in ATF_TC_BODY() 159 struct pollfd pfd; in ATF_TC_BODY()
|
| /netbsd-src/include/rpc/ |
| H A D | svc.h | 331 extern struct pollfd *svc_pollfd_get(void); 334 extern struct pollfd *svc_pollfd_copy(const struct pollfd *); 340 struct pollfd; 341 extern void svc_getreq_poll(struct pollfd *, int);
|
| /netbsd-src/usr.sbin/isibootd/ |
| H A D | isibootd.c | 131 struct pollfd pollfd; in main() local 183 pollfd.fd = station.fd; in main() 184 pollfd.events = POLLIN; in main() 186 poll(&pollfd, 1, INFTIM); in main() 187 read(pollfd.fd, iobuf, iolen); /* returns 1468 */ in main() 272 write(pollfd.fd, fp, ISIBOOT_FRAMELEN); in main()
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | posix-poll.c | 58 struct pollfd* p; in uv__pollfds_maybe_resize() 79 struct pollfd pfd; in uv__pollfds_swap() 88 struct pollfd* pe; in uv__pollfds_add() 145 struct pollfd* pe; in uv__io_poll() 357 struct pollfd p[1]; in uv__io_check_fd()
|
| H A D | os390-syscalls.c | 109 struct pollfd* newlst; in maybe_resize() 110 struct pollfd event; in maybe_resize() 279 #define EP_MAX_PFDS (ULONG_MAX / sizeof(struct pollfd)) 285 struct pollfd* pfds; in epoll_wait() 291 struct pollfd msg_fd; in epoll_wait() 328 struct pollfd* pfd; in epoll_wait()
|
| H A D | aix.c | 134 struct pollfd events[1024]; in uv__io_poll() 135 struct pollfd pqry; in uv__io_poll() 136 struct pollfd* pe; in uv__io_poll() 777 fd_set pollfd; in uv_fs_event_start() local 827 FD_ZERO(&pollfd); in uv_fs_event_start() 828 FD_SET(fd, &pollfd); in uv_fs_event_start() 829 rc = select(fd + 1, &pollfd, NULL, NULL, &zt); in uv_fs_event_start() 1281 struct pollfd* events; in uv__platform_invalidate_fd() 1289 events = (struct pollfd*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
|
| /netbsd-src/sys/compat/sys/ |
| H A D | poll.h | 45 int pollts(struct pollfd * __restrict, nfds_t, 47 int __pollts50(struct pollfd * __restrict, nfds_t,
|
| /netbsd-src/external/gpl2/lvm2/dist/daemons/cmirrord/ |
| H A D | link_mon.c | 31 static struct pollfd *pfds = NULL; 56 struct pollfd *tmp; in links_register() 57 tmp = realloc(pfds, sizeof(struct pollfd) * ((used_pfds*2) + 1)); in links_register()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_platform_limits_openbsd.cc | 199 CHECK_TYPE_SIZE(pollfd); 200 CHECK_SIZE_AND_OFFSET(pollfd, fd); 201 CHECK_SIZE_AND_OFFSET(pollfd, events); 202 CHECK_SIZE_AND_OFFSET(pollfd, revents);
|
| H A D | sanitizer_platform_limits_solaris.cc | 261 CHECK_TYPE_SIZE(pollfd); 262 CHECK_SIZE_AND_OFFSET(pollfd, fd); 263 CHECK_SIZE_AND_OFFSET(pollfd, events); 264 CHECK_SIZE_AND_OFFSET(pollfd, revents);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_platform_limits_openbsd.cc | 197 CHECK_TYPE_SIZE(pollfd); 198 CHECK_SIZE_AND_OFFSET(pollfd, fd); 199 CHECK_SIZE_AND_OFFSET(pollfd, events); 200 CHECK_SIZE_AND_OFFSET(pollfd, revents);
|
| H A D | sanitizer_platform_limits_solaris.cc | 259 CHECK_TYPE_SIZE(pollfd); 260 CHECK_SIZE_AND_OFFSET(pollfd, fd); 261 CHECK_SIZE_AND_OFFSET(pollfd, events); 262 CHECK_SIZE_AND_OFFSET(pollfd, revents);
|
| /netbsd-src/sys/kern/ |
| H A D | sys_select.c | 133 static inline int pollscan(struct pollfd *, const int, register_t *); 295 error = pollscan((struct pollfd *)fds, nf, retval); in sel_do_scan() 577 syscallarg(struct pollfd *) fds; in pollscan() 600 syscallarg(struct pollfd *) fds; in pollscan() 626 pollcommon(register_t *retval, struct pollfd *u_fds, u_int nfds, 629 struct pollfd smallfds[32]; 630 struct pollfd *fds; 659 ni = nfds * sizeof(struct pollfd); in selrecord() 679 pollscan(struct pollfd *fds, const int nfd, register_t *retval) 694 * selrecord(), which is a pointer to struct pollfd [all...] |
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_platform_limits_solaris.cpp | 263 CHECK_TYPE_SIZE(pollfd); 264 CHECK_SIZE_AND_OFFSET(pollfd, fd); 265 CHECK_SIZE_AND_OFFSET(pollfd, events); 266 CHECK_SIZE_AND_OFFSET(pollfd, revents);
|
| /netbsd-src/external/bsd/dhcpcd/dist/src/ |
| H A D | eloop.c | 188 struct pollfd *pollfd; member 223 struct pollfd *fds; 265 struct pollfd *pfd; in eloop_event_setup_fds() 290 e->pollfd = pfd; in eloop_event_setup_fds() 404 e->pollfd = NULL; in eloop_event_add() 1078 struct pollfd *pfd; in eloop_run_ppoll() 1090 if ((pfd = e->pollfd) == NULL) in eloop_run_ppoll() 1092 if (e->pollfd->revents) { in eloop_run_ppoll()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | monitor_fdpass.c | 55 struct pollfd pfd; in mm_send_fd() 111 struct pollfd pfd; in mm_receive_fd()
|