Home
last modified time | relevance | path

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

123

/minix/external/bsd/libevent/dist/
H A Dpoll.c64 struct pollfd *event_set;
65 struct pollfd *event_set_copy;
113 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok()
127 struct pollfd *event_set; in poll_dispatch()
142 pop->event_count * sizeof(struct pollfd)); in poll_dispatch()
151 sizeof(struct pollfd)*nfds); in poll_dispatch()
217 struct pollfd *pfd = NULL; in poll_add()
227 struct pollfd *tmp_event_set; in poll_add()
237 tmp_event_count * sizeof(struct pollfd)); in poll_add()
278 struct pollfd *pfd = NULL; in poll_del()
[all …]
H A Ddevpoll.c57 struct pollfd *events;
60 struct pollfd *changes;
92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit()
101 struct pollfd *pfd; in devpoll_queue()
146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init()
154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init()
171 struct pollfd *events = devpollop->events; in devpoll_dispatch()
/minix/sys/sys/
H A Dpoll.h39 struct pollfd { struct
76 int pollcommon(register_t *, struct pollfd *, u_int,
83 int poll(struct pollfd *, nfds_t, int);
92 int pollts(struct pollfd * __restrict, nfds_t,
/minix/usr.bin/make/
H A Djob.h92 #define pollfd emul_pollfd macro
104 emul_poll(struct pollfd *fd, int nfd, int timeout);
136 struct pollfd;
168 struct pollfd *inPollfd; /* pollfd associated with inPipe */
/minix/tests/lib/libc/sys/
H A Dt_poll.c49 struct pollfd pfd; in child1()
61 struct pollfd pfd; in child2()
74 struct pollfd pfd; in child3()
159 struct pollfd pfds[2]; in ATF_TC_BODY()
223 struct pollfd pfd; in ATF_TC_BODY()
230 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY()
247 struct pollfd pfds[2]; in ATF_TC_BODY()
317 struct pollfd pfd; in ATF_TC_BODY()
347 struct pollfd pfd; in ATF_TC_BODY()
/minix/sys/compat/sys/
H A Dpoll.h45 int pollts(struct pollfd * __restrict, nfds_t,
47 int __pollts50(struct pollfd * __restrict, nfds_t,
/minix/external/bsd/dhcpcd/dist/
H A Deloop.h116 struct pollfd *pollfd; member
146 struct pollfd *fds;
H A Deloop.c94 e->pollfd = &eloop->fds[i]; in eloop_event_setup_fds()
106 pollts(struct pollfd * fds, nfds_t nfds, in pollts()
164 struct pollfd *nfds; in eloop_event_add()
813 if (e->pollfd->revents & POLLOUT && in eloop_start()
819 if (e->pollfd->revents && e->read_cb != NULL) { in eloop_start()
/minix/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Dio.cpp244 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout) in safe_poll()
322 atf::auto_array< struct pollfd > poll_fds(new struct pollfd[m_nfds]); in mux()
/minix/external/bsd/atf/dist/tools/
H A Dio.cpp239 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout) in safe_poll()
317 tools::auto_array< struct pollfd > poll_fds(new struct pollfd[m_nfds]); in mux()
/minix/include/rpc/
H A Dsvc.h313 struct pollfd;
314 extern void svc_getreq_poll(struct pollfd *, int);
/minix/tests/net/fdpass/
H A Dfdpass.c58 struct pollfd pfd; in send_fd()
111 struct pollfd pfd; in recv_fd()
/minix/usr.bin/telnet/
H A Dtn3270.c125 struct pollfd set[1]; in DataToNetwork()
204 struct pollfd set[1]; in DataToTerminal()
H A Dnetwork.c83 struct pollfd set[1]; in stilloob()
/minix/usr.sbin/traceroute/
H A Dprog_ops.h43 int (*op_poll)(struct pollfd *, nfds_t, int);
/minix/usr.bin/rsh/
H A Drsh.c80 static int checkfd(struct pollfd *, int);
303 checkfd(struct pollfd *fdp, int outfd) in checkfd()
339 struct pollfd fds[3], *fdp = &fds[0]; in talk()
/minix/sbin/ping/
H A Dprog_ops.h42 int (*op_poll)(struct pollfd *, nfds_t, int);
/minix/lib/libc/rpc/
H A Dsvc_vc.c474 struct pollfd pollfd; in read_vc() local
540 pollfd.fd = sock; in read_vc()
541 pollfd.events = POLLIN; in read_vc()
542 switch (pollts(&pollfd, 1, &ts, NULL)) { in read_vc()
554 } while ((pollfd.revents & POLLIN) == 0); in read_vc()
/minix/sbin/ping6/
H A Dprog_ops.h43 int (*op_poll)(struct pollfd *, nfds_t, int);
/minix/games/tetris/
H A Dinput.c77 struct pollfd set[1]; in rwait()
/minix/lib/libc/compat/sys/
H A Dcompat_select.c64 pollts(struct pollfd * __restrict fds, nfds_t nfds, in __weak_alias()
/minix/tests/kernel/kqueue/write/
H A Dt_ttypty.c58 struct pollfd pfd; in h_check()
/minix/minix/lib/libc/sys/
H A Dpoll.c43 poll(struct pollfd *p, nfds_t nfds, int timout) in poll()
/minix/tests/lib/librumphijack/
H A Dh_client.c97 struct pollfd pfd[2]; in main()
/minix/tests/kernel/kqueue/read/
H A Dt_ttypty.c62 struct pollfd pfd; in h_check()

123