/dflybsd-src/lib/libusb/ |
H A D | libusb10_io.c | 51 libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, in libusb10_add_pollfd() argument 57 if (pollfd->entry.tqe_prev != NULL) in libusb10_add_pollfd() 63 pollfd->pdev = pdev; in libusb10_add_pollfd() 64 pollfd->pollfd.fd = fd; in libusb10_add_pollfd() 65 pollfd->pollfd.events = events; in libusb10_add_pollfd() 68 TAILQ_INSERT_TAIL(&ctx->pollfds, pollfd, entry); in libusb10_add_pollfd() 76 libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd) in libusb10_remove_pollfd() argument 81 if (pollfd->entry.tqe_prev == NULL) in libusb10_remove_pollfd() 85 TAILQ_REMOVE(&ctx->pollfds, pollfd, entry); in libusb10_remove_pollfd() 86 pollfd->entry.tqe_prev = NULL; in libusb10_remove_pollfd() [all …]
|
H A D | libusb10.h | 64 struct libusb_pollfd pollfd; member 131 void libusb10_add_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd, struct libusb20_d… 132 void libusb10_remove_pollfd(libusb_context *ctx, struct libusb_super_pollfd *pollfd);
|
/dflybsd-src/contrib/bmake/ |
H A D | job.h | 92 #define pollfd emul_pollfd macro 103 int emul_poll(struct pollfd *, int, int); 112 struct pollfd; 172 struct pollfd *inPollfd; /* pollfd associated with inPipe */
|
/dflybsd-src/sys/sys/ |
H A D | poll.h | 43 struct pollfd { struct 102 int poll(struct pollfd *, nfds_t, int); 105 int ppoll(struct pollfd *, nfds_t, const struct timespec *,
|
/dflybsd-src/contrib/wpa_supplicant/src/utils/ |
H A D | eloop.c | 84 struct pollfd *pollfds; 85 struct pollfd **pollfds_map; 284 struct pollfd **nmap; in eloop_sock_table_add_sock() 286 sizeof(struct pollfd *)); in eloop_sock_table_add_sock() 295 struct pollfd *n; in eloop_sock_table_add_sock() 298 sizeof(struct pollfd)); in eloop_sock_table_add_sock() 432 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) in find_pollfd() 443 struct pollfd *pollfds, in eloop_sock_table_set_fds() 444 struct pollfd **pollfds_map, in eloop_sock_table_set_fds() 450 struct pollfd *pfd; in eloop_sock_table_set_fds() [all …]
|
/dflybsd-src/test/interbench/ |
H A D | hackbench.c | 34 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready() local 41 if (poll(&pollfd, 1, -1) != 1) in ready()
|
/dflybsd-src/contrib/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()
|
/dflybsd-src/contrib/gdb-7/gdb/ |
H A D | event-loop.c | 177 struct pollfd *poll_fds; 476 struct pollfd fds; in add_file_handler() 555 (struct pollfd *) xrealloc (gdb_notifier.poll_fds, in create_file_handler() 557 * sizeof (struct pollfd))); in create_file_handler() 560 (struct pollfd *) xmalloc (sizeof (struct pollfd)); in create_file_handler() 605 struct pollfd *new_poll_fds; in delete_file_handler() 626 new_poll_fds = (struct pollfd *) in delete_file_handler() 627 xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd)); in delete_file_handler()
|
/dflybsd-src/lib/libc/rpc/ |
H A D | svc_vc.c | 446 struct pollfd pollfd; in read_vc() local 470 pollfd.fd = sock; in read_vc() 471 pollfd.events = POLLIN; in read_vc() 472 pollfd.revents = 0; in read_vc() 473 switch (_poll(&pollfd, 1, milliseconds)) { in read_vc() 484 } while ((pollfd.revents & POLLIN) == 0); in read_vc()
|
/dflybsd-src/lib/libthread_xu/thread/ |
H A D | thr_syscalls.c | 109 extern int __sys_poll(struct pollfd *, unsigned, int); 110 extern int __sys_ppoll(struct pollfd *, unsigned, const struct timespec *, 138 int __poll(struct pollfd *, unsigned int, int); 139 int __ppoll(struct pollfd *, unsigned int, const struct timespec *, 439 __poll(struct pollfd *fds, unsigned int nfds, int timeout) in __poll() 455 __ppoll(struct pollfd *fds, unsigned int nfds, const struct timespec *ts, in __ppoll()
|
/dflybsd-src/contrib/dhcpcd/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()
|
/dflybsd-src/crypto/openssh/ |
H A D | channels.h | 331 struct pollfd; 334 void channel_prepare_poll(struct ssh *, struct pollfd **, 336 void channel_after_poll(struct ssh *, struct pollfd *, u_int);
|
H A D | monitor_fdpass.c | 66 struct pollfd pfd; in mm_send_fd() 127 struct pollfd pfd; in mm_receive_fd()
|
H A D | atomicio.c | 57 struct pollfd pfd; in atomicio6() 112 struct pollfd pfd; in atomiciov6()
|
/dflybsd-src/include/rpc/ |
H A D | svc.h | 311 struct pollfd; 312 extern void svc_getreq_poll(struct pollfd *, int);
|
/dflybsd-src/contrib/ncurses/ncurses/tty/ |
H A D | lib_twait.c | 186 struct pollfd fd_list[MIN_FDS]; in _nc_timed_wait() 187 struct pollfd *fds = fd_list; in _nc_timed_wait() 239 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait()
|
/dflybsd-src/usr.bin/window/ |
H A D | wwiomux.c | 69 static struct pollfd *pfd = NULL; in wwiomux() 88 struct pollfd *npfd = pfd == NULL ? in wwiomux()
|
/dflybsd-src/test/testcases/io/poll_1/ |
H A D | poll_1.c | 12 struct pollfd fds[1]; in main()
|
/dflybsd-src/crypto/libressl/apps/nc/ |
H A D | atomicio.c | 44 struct pollfd pfd; in atomicio()
|
/dflybsd-src/contrib/openpam/lib/libpam/ |
H A D | openpam_ttyconv.c | 92 struct pollfd pfd; in prompt_tty() 220 struct pollfd pfd; in prompt_notty()
|
/dflybsd-src/games/tetris/ |
H A D | input.c | 70 struct pollfd pfd[1]; in rwait()
|
/dflybsd-src/lib/libc/resolv/ |
H A D | res_send.c | 869 struct pollfd pollfd; local 1004 pollfd.fd = s; 1005 pollfd.events = POLLRDNORM; 1006 n = poll(&pollfd, 1, polltimeout);
|
/dflybsd-src/sys/kern/ |
H A D | sys_generic.c | 102 struct pollfd *fds; 112 static int dopoll(int nfds, struct pollfd *fds, struct timespec *ts, 1327 struct pollfd *pfd; in poll_copyin() 1433 struct pollfd *pfd; in poll_copyout() 1620 dopoll(int nfds, struct pollfd *fds, struct timespec *ts, int *res, int flags) in dopoll() 1623 struct pollfd sfds[64]; in dopoll() 1641 bytes = sizeof(struct pollfd) * nfds; in dopoll()
|
/dflybsd-src/contrib/tnftp/src/ |
H A D | extern.h | 246 int ftp_poll(struct pollfd *, int, int);
|
/dflybsd-src/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 204 struct pollfd fds[2]; in __archive_check_child()
|