Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 25 of 82) sorted by relevance

1234

/dflybsd-src/lib/libusb/
H A Dlibusb10_io.c51 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 Dlibusb10.h64 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 Djob.h92 #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 Dpoll.h43 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 Deloop.c84 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 Dhackbench.c34 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 Dlink_mon.c31 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 Devent-loop.c177 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 Dsvc_vc.c446 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 Dthr_syscalls.c109 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 Deloop.c188 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 Dchannels.h331 struct pollfd;
334 void channel_prepare_poll(struct ssh *, struct pollfd **,
336 void channel_after_poll(struct ssh *, struct pollfd *, u_int);
H A Dmonitor_fdpass.c66 struct pollfd pfd; in mm_send_fd()
127 struct pollfd pfd; in mm_receive_fd()
H A Datomicio.c57 struct pollfd pfd; in atomicio6()
112 struct pollfd pfd; in atomiciov6()
/dflybsd-src/include/rpc/
H A Dsvc.h311 struct pollfd;
312 extern void svc_getreq_poll(struct pollfd *, int);
/dflybsd-src/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c186 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 Dwwiomux.c69 static struct pollfd *pfd = NULL; in wwiomux()
88 struct pollfd *npfd = pfd == NULL ? in wwiomux()
/dflybsd-src/test/testcases/io/poll_1/
H A Dpoll_1.c12 struct pollfd fds[1]; in main()
/dflybsd-src/crypto/libressl/apps/nc/
H A Datomicio.c44 struct pollfd pfd; in atomicio()
/dflybsd-src/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c92 struct pollfd pfd; in prompt_tty()
220 struct pollfd pfd; in prompt_notty()
/dflybsd-src/games/tetris/
H A Dinput.c70 struct pollfd pfd[1]; in rwait()
/dflybsd-src/lib/libc/resolv/
H A Dres_send.c869 struct pollfd pollfd; local
1004 pollfd.fd = s;
1005 pollfd.events = POLLRDNORM;
1006 n = poll(&pollfd, 1, polltimeout);
/dflybsd-src/sys/kern/
H A Dsys_generic.c102 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 Dextern.h246 int ftp_poll(struct pollfd *, int, int);
/dflybsd-src/contrib/libarchive/libarchive/
H A Dfilter_fork_posix.c204 struct pollfd fds[2]; in __archive_check_child()

1234