HomeSort by: relevance | last modified time | path
    Searched refs:POLLIN (Results 1 - 25 of 177) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/usr.bin/talk/
io.c 75 set[0].events = POLLIN;
77 set[1].events = POLLIN;
87 if (set[0].revents & POLLIN) {
96 if (set[1].revents & POLLIN) {
ctl_transact.c 65 set[0].events = POLLIN;
  /src/usr.bin/tip/
tipout.c 134 pfd[0].events = POLLIN;
136 pfd[1].events = POLLIN|POLLHUP;
142 if (pfd[0].revents & POLLIN)
160 if (pfd[1].revents & (POLLIN|POLLHUP)) {
  /src/tests/lib/libc/sys/
t_poll.c 60 pfd.events = POLLIN | POLLHUP | POLLOUT;
72 pfd.events = POLLIN | POLLHUP | POLLOUT;
87 pfd.events = POLLIN | POLLHUP | POLLOUT;
173 pfds[0].events = POLLIN;
215 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
236 pfd.events = POLLIN;
268 "Check POLLIN/POLLOUT behavior with fifos");
294 pfd[0].events = POLLIN | POLLRDNORM;
313 ATF_REQUIRE_EQ_MSG(pfd[0].revents, POLLIN|POLLRDNORM,
335 ATF_REQUIRE_EQ_MSG(pfd[0].revents, POLLIN|POLLRDNORM
    [all...]
t_pollts.c 66 pfds[0].events = POLLIN;
111 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
133 pfd.events = POLLIN;
168 pfd.events = POLLIN;
  /src/usr.bin/nc/
atomicio.c 49 pfd.events = f == read ? POLLIN : POLLOUT;
  /src/usr.sbin/faithd/
ftp.c 83 pfd[0].events = POLLIN;
85 pfd[1].events = POLLIN;
88 pfd[2].events = POLLIN;
93 pfd[3].events = POLLIN;
99 pfd[4].events = POLLIN;
104 pfd[5].events = POLLIN;
125 if (pfd[1].revents & POLLIN)
142 if (pfd[0].revents & POLLIN)
159 if (0 <= port4 && 0 <= port6 && (pfd[2].revents & POLLIN))
165 if (pfd[2].revents & POLLIN)
    [all...]
  /src/sys/modules/examples/pollpal/
cmd_pollpal.c 88 fds.events = POLLOUT|POLLIN;
118 if (fds.revents & POLLIN) {
  /src/sys/rump/net/lib/libwg/
wg_user.c 130 pfd[0].events = POLLIN;
132 pfd[1].events = POLLIN;
134 pfd[2].events = POLLIN;
136 pfd[3].events = POLLIN;
151 if (pfd[1].revents & POLLIN)
155 if (pfd[0].revents & POLLIN) {
180 if (pfd[2].revents & POLLIN) {
202 if (pfd[3].revents & POLLIN) {
  /src/sys/external/bsd/drm2/linux/
linux_sync_file.c 93 selnotify(&sf->sf_selq, POLLIN, NOTE_SUBMIT);
104 if ((events & POLLIN) == 0)
109 revents |= POLLIN;
120 selnotify(&sf->sf_selq, POLLIN, NOTE_SUBMIT);
121 revents |= POLLIN;
185 selnotify(&sf->sf_selq, POLLIN, NOTE_SUBMIT);
  /src/tests/net/net/
t_socket_afinet.c 165 pfd.events = POLLIN | POLLOUT;
175 * Server now sees POLLIN, but not POLLRDHUP because we didn't ask.
180 pfd.events = POLLIN;
183 ATF_CHECK_EQ(POLLIN, pfd.revents);
227 pfd.events = POLLIN | POLLOUT | POLLRDHUP;
238 /* Server can read, so sees POLLIN. */
240 pfd.events = POLLIN | POLLOUT | POLLRDHUP;
243 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents);
  /src/sys/arch/amiga/dev/
event.c 152 if (events & (POLLIN | POLLRDNORM))
155 revents |= events & (POLLIN | POLLRDNORM);
157 if (events & (POLLIN | POLLRDNORM))
  /src/tests/lib/librumphijack/
h_client.c 108 pfd[0].events = POLLIN;
110 pfd[1].events = POLLIN;
  /src/usr.sbin/mopd/common/
loop-bsd.c 127 set[m].events = POLLIN;
133 if (!(set[m].revents & POLLIN))
  /src/games/boggle/boggle/
timer.c 107 set[0].events = POLLIN;
  /src/games/hunt/hunt/
playit.c 209 set[0].events = POLLIN;
211 set[1].events = POLLIN;
219 if (set[1].revents && POLLIN)
221 if (! (set[0].revents & POLLIN))
  /src/games/tetris/
input.c 90 set[0].events = POLLIN;
  /src/sbin/mount_nfs/
udp_xfer.c 93 struct pollfd pfd = {d->socket, POLLIN, 0};
  /src/sys/sys/
poll.h 48 #define POLLIN 0x0001
  /src/bin/date/
netdate.c 142 ready.events = POLLIN;
164 if (found > 0 && ready.revents & POLLIN) {
  /src/sys/arch/atari/dev/
event.c 153 if (events & (POLLIN | POLLRDNORM)) {
155 revents |= events & (POLLIN | POLLRDNORM);
  /src/sys/dev/sun/
event.c 157 if (events & (POLLIN | POLLRDNORM)) {
161 revents |= events & (POLLIN | POLLRDNORM);
  /src/tests/net/if_vlan/
bpfopen.c 240 pfd[PFD_BPF].events = POLLIN;
248 if (nfds > 0 && (pfd[PFD_BPF].revents & POLLIN)) {
  /src/usr.sbin/rbootd/
rbootd.c 204 set[0].events = POLLIN;
220 if (set[0].revents & POLLIN) {
  /src/libexec/rexecd/
rexecd.c 285 fds[0].events = fds[1].events = POLLIN;
295 if (fds[0].revents & POLLIN) {
301 if (fds[1].revents & POLLIN) {
309 } while ((fds[0].events | fds[1].events) & POLLIN);

Completed in 24 milliseconds

1 2 3 4 5 6 7 8