Home
last modified time | relevance | path

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

123456789

/openbsd/usr.bin/sndiod/
H A Dfile.h23 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 Dmiofile.c33 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 Ddev_sioctl.c35 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 Dlisten.c38 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 Dfile.c66 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 Dsndio.h163 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 Dt_poll.c52 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 Dt_pollts.c61 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 Dmio_priv.h42 int (*pollfd)(struct mio_hdl *, struct pollfd *, int); member
43 int (*revents)(struct mio_hdl *, struct pollfd *);
H A Dsioctl_priv.h44 int (*pollfd)(struct sioctl_hdl *, struct pollfd *, int); member
45 int (*revents)(struct sioctl_hdl *, struct pollfd *);
H A Dsio_priv.h63 int (*pollfd)(struct sio_hdl *, struct pollfd *, int); member
64 int (*revents)(struct sio_hdl *, struct pollfd *);
H A Dsioctl.c70 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 Dmio.c85 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 Dmio_rmidi.c46 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 Dmio_aucat.c45 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 Daucat.h43 int _aucat_pollfd(struct aucat *, struct pollfd *, int);
44 int _aucat_revents(struct aucat *, struct pollfd *);
H A Dsioctl_aucat.c39 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 Dpoll.h31 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 Dpoll.c54 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 Dpoll.h35 typedef struct pollfd { struct
58 int poll (struct pollfd *, unsigned long, int); argument
/openbsd/usr.sbin/radiusd/
H A Dimsg_subr.c38 struct pollfd fds[1]; in imsg_sync_read()
61 struct pollfd fds[1]; in imsg_sync_flush()
/openbsd/usr.sbin/vmd/
H A Datomicio.c52 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 Devent-loop.c142 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 Dsession.h258 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 Dex_script.c190 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()

123456789