/openbsd/usr.bin/sndiod/ |
H A D | file.h | 23 struct pollfd; 35 int (*pollfd)(void *, struct pollfd *); member 36 int (*revents)(void *, struct pollfd *); 73 size_t filelist_fmt(char *, size_t, struct pollfd *, int);
|
H A D | miofile.c | 33 int port_mio_pollfd(void *, struct pollfd *); 34 int port_mio_revents(void *, struct pollfd *); 66 port_mio_pollfd(void *addr, struct pollfd *pfd) in port_mio_pollfd() 80 port_mio_revents(void *addr, struct pollfd *pfd) in port_mio_revents()
|
H A D | dev_sioctl.c | 35 int dev_sioctl_pollfd(void *, struct pollfd *); 36 int dev_sioctl_revents(void *, struct pollfd *); 147 dev_sioctl_pollfd(void *arg, struct pollfd *pfd) in dev_sioctl_pollfd() 161 dev_sioctl_revents(void *arg, struct pollfd *pfd) in dev_sioctl_revents()
|
H A D | listen.c | 38 int listen_pollfd(void *, struct pollfd *); 39 int listen_revents(void *, struct pollfd *); 192 listen_pollfd(void *arg, struct pollfd *pfd) in listen_pollfd() 205 listen_revents(void *arg, struct pollfd *pfd) in listen_revents()
|
H A D | file.c | 66 int file_process(struct file *, struct pollfd *); 247 file_process(struct file *f, struct pollfd *pfd) in file_process() 288 filelist_fmt(char *buf, size_t size, struct pollfd *pfd, int ret) in filelist_fmt() 311 struct pollfd pfds[MAXFDS], *pfd; in file_poll() 345 f->nfds = f->ops->pollfd(f->arg, pfds + nfds); in file_poll()
|
/openbsd/include/ |
H A D | sndio.h | 163 struct pollfd; 178 int sio_pollfd(struct sio_hdl *, struct pollfd *, int); 179 int sio_revents(struct sio_hdl *, struct pollfd *); 189 int mio_pollfd(struct mio_hdl *, struct pollfd *, int); 190 int mio_revents(struct mio_hdl *, struct pollfd *); 201 int sioctl_pollfd(struct sioctl_hdl *, struct pollfd *, int); 202 int sioctl_revents(struct sioctl_hdl *, struct pollfd *);
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_poll.c | 52 struct pollfd pfd; in child1() 64 struct pollfd pfd; in child2() 77 struct pollfd pfd; in child3() 162 struct pollfd pfds[2]; in ATF_TC_BODY() 226 struct pollfd pfd; in ATF_TC_BODY() 233 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY()
|
H A D | t_pollts.c | 61 struct pollfd pfds[2]; in ATF_TC_BODY() 131 struct pollfd pfd; in ATF_TC_BODY() 161 struct pollfd pfd; in ATF_TC_BODY()
|
/openbsd/lib/libsndio/ |
H A D | mio_priv.h | 42 int (*pollfd)(struct mio_hdl *, struct pollfd *, int); member 43 int (*revents)(struct mio_hdl *, struct pollfd *);
|
H A D | sioctl_priv.h | 44 int (*pollfd)(struct sioctl_hdl *, struct pollfd *, int); member 45 int (*revents)(struct sioctl_hdl *, struct pollfd *);
|
H A D | sio_priv.h | 63 int (*pollfd)(struct sio_hdl *, struct pollfd *, int); member 64 int (*revents)(struct sio_hdl *, struct pollfd *);
|
H A D | sioctl.c | 70 struct pollfd pfds[SIOCTL_MAXNFDS]; in _sioctl_psleep() 108 sioctl_pollfd(struct sioctl_hdl *hdl, struct pollfd *pfd, int events) in sioctl_pollfd() 112 return hdl->ops->pollfd(hdl, pfd, events); in sioctl_pollfd() 116 sioctl_revents(struct sioctl_hdl *hdl, struct pollfd *pfd) in sioctl_revents()
|
H A D | mio.c | 85 struct pollfd pfd[MIO_MAXNFDS]; in mio_psleep() 183 mio_pollfd(struct mio_hdl *hdl, struct pollfd *pfd, int events) in mio_pollfd() 187 return hdl->ops->pollfd(hdl, pfd, events); in mio_pollfd() 191 mio_revents(struct mio_hdl *hdl, struct pollfd *pfd) in mio_revents()
|
H A D | mio_rmidi.c | 46 static int mio_rmidi_pollfd(struct mio_hdl *, struct pollfd *, int); 47 static int mio_rmidi_revents(struct mio_hdl *, struct pollfd *); 198 mio_rmidi_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events) in mio_rmidi_pollfd() 208 mio_rmidi_revents(struct mio_hdl *sh, struct pollfd *pfd) in mio_rmidi_revents()
|
H A D | mio_aucat.c | 45 static int mio_aucat_pollfd(struct mio_hdl *, struct pollfd *, int); 46 static int mio_aucat_revents(struct mio_hdl *, struct pollfd *); 151 mio_aucat_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events) in mio_aucat_pollfd() 162 mio_aucat_revents(struct mio_hdl *sh, struct pollfd *pfd) in mio_aucat_revents()
|
H A D | aucat.h | 43 int _aucat_pollfd(struct aucat *, struct pollfd *, int); 44 int _aucat_revents(struct aucat *, struct pollfd *);
|
H A D | sioctl_aucat.c | 39 static int sioctl_aucat_pollfd(struct sioctl_hdl *, struct pollfd *, int); 40 static int sioctl_aucat_revents(struct sioctl_hdl *, struct pollfd *); 243 sioctl_aucat_pollfd(struct sioctl_hdl *addr, struct pollfd *pfd, int events) in sioctl_aucat_pollfd() 251 sioctl_aucat_revents(struct sioctl_hdl *addr, struct pollfd *pfd) in sioctl_aucat_revents()
|
/openbsd/sys/sys/ |
H A D | poll.h | 31 typedef struct pollfd { struct 82 int poll(struct pollfd[], nfds_t, int); 84 int ppoll(struct pollfd[], nfds_t, const struct timespec * __restrict, const sigset_t * __restric…
|
/openbsd/lib/libevent/ |
H A D | poll.c | 54 struct pollfd *event_set; 121 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() 202 struct pollfd *pfd = NULL; in poll_add() 212 struct pollfd *tmp_event_set; in poll_add() 224 tmp_event_count, sizeof(struct pollfd)); in poll_add() 307 struct pollfd *pfd = NULL; in poll_del() 346 sizeof(struct pollfd)); in poll_del()
|
/openbsd/gnu/usr.bin/perl/dist/IO/ |
H A D | poll.h | 35 typedef struct pollfd { struct 58 int poll (struct pollfd *, unsigned long, int); argument
|
/openbsd/usr.sbin/radiusd/ |
H A D | imsg_subr.c | 38 struct pollfd fds[1]; in imsg_sync_read() 61 struct pollfd fds[1]; in imsg_sync_flush()
|
/openbsd/usr.sbin/vmd/ |
H A D | atomicio.c | 52 struct pollfd pfd; in atomicio6() 98 struct pollfd pfd; in atomiciov6() 161 struct pollfd pfd; in imsgbuf_read_one()
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | event-loop.c | 142 struct pollfd *poll_fds; 437 struct pollfd fds; in add_file_handler() 510 (struct pollfd *) xrealloc (gdb_notifier.poll_fds, in create_file_handler() 512 * sizeof (struct pollfd))); in create_file_handler() 515 (struct pollfd *) xmalloc (sizeof (struct pollfd)); in create_file_handler() 560 struct pollfd *new_poll_fds; in delete_file_handler() 582 (struct pollfd *) xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd)); in delete_file_handler()
|
/openbsd/usr.sbin/bgpd/ |
H A D | session.h | 258 size_t control_fill_pfds(struct pollfd *, size_t); 260 int control_dispatch_msg(struct pollfd *, struct peer_head *); 303 void rtr_check_events(struct pollfd *, size_t); 304 size_t rtr_poll_events(struct pollfd *, size_t, time_t *);
|
/openbsd/usr.bin/vi/ex/ |
H A D | ex_script.c | 190 struct pollfd pfd[1]; in sscr_getprompt() 351 struct pollfd *pfd; in sscr_check_input() 362 pfd = calloc(nfds, sizeof(struct pollfd)); in sscr_check_input() 420 struct pollfd *pfd; in sscr_input() 433 pfd = calloc(nfds, sizeof(struct pollfd)); in sscr_input() 486 struct pollfd pfd[1]; in sscr_insert()
|