Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd/tools/regression/poll/m/
H A Dpipepoll.out4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
19 ok 18 FIFO state 6b: expected POLLHUP; got POLLHUP
20 ok 19 FIFO state 6c: expected POLLHUP; got POLLHUP
21 ok 20 FIFO state 6d: expected POLLHUP; got POLLHUP
/freebsd/tools/regression/poll/l/
H A Dpipepoll.out4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
19 not ok 18 FIFO state 6b: expected POLLHUP; got 0
20 ok 19 FIFO state 6c: expected POLLHUP; got POLLHUP
21 ok 20 FIFO state 6d: expected POLLHUP; got POLLHUP
H A Dsockpoll.out6 not ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP
13 not ok 12 state after second shutdown: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
14 not ok 13 state after second shutdown: expected POLLHUP; got POLLIN | POLLHUP
15 not ok 14 state after close: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP | 8
18 not ok 17 state after shutdown(SHUT_WR): expected POLLHUP; got POLLIN | POLLOUT | POLLHUP
19 …state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT | POLLHUP
22 …hutdown(SHUT_WR): expected POLLIN | POLLOUT | POLLRDHUP; got POLLIN | POLLOUT | POLLHUP | POLLRDHUP
/freebsd/tools/regression/poll/n/
H A Dpipepoll.out4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 ok 4 Pipe state 6a: expected POLLHUP; got POLLHUP
8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
9 ok 8 Sock state 6a: expected POLLHUP; got POLLHUP
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
20 ok 19 FIFO state 6c: expected POLLHUP; got POLLHUP
21 ok 20 FIFO state 6d: expected POLLHUP; got POLLHUP
/freebsd/tools/regression/poll/7/
H A Dpipepoll.out4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
14 not ok 13 FIFO state 3: expected POLLHUP; got 0
17 not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN
18 not ok 17 FIFO state 6a: expected POLLHUP; got 0
20 not ok 19 FIFO state 6c: expected POLLHUP; got 0
21 not ok 20 FIFO state 6d: expected POLLHUP; got 0
/freebsd/tools/regression/poll/4/
H A Dpipepoll.out4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP
8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN
9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN
14 not ok 13 FIFO state 3: expected POLLHUP; got POLLIN
17 not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN
18 not ok 17 FIFO state 6a: expected POLLHUP; got POLLIN
20 not ok 19 FIFO state 6c: expected POLLHUP; got POLLIN
21 not ok 20 FIFO state 6d: expected POLLHUP; got POLLIN
/freebsd/tools/regression/poll/14/
H A Dsockpoll.out6 ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLHUP
13 ok 12 state after second shutdown: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
14 not ok 13 state after second shutdown: expected POLLHUP; got POLLIN | POLLHUP
15 not ok 14 state after close: expected POLLHUP; got POLLIN | POLLHUP
18 not ok 17 state after shutdown(SHUT_WR): expected POLLHUP; got POLLIN | POLLHUP
/freebsd/tools/regression/poll/
H A Dsockpoll.c46 DECODE_FLAG(POLLHUP); in decode_events()
48 #define KNOWN_FLAGS (POLLIN | POLLOUT | POLLHUP) in decode_events()
51 #define KNOWN_FLAGS (POLLIN | POLLOUT | POLLHUP | POLLRDHUP); in decode_events()
144 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents); in main()
149 report(num++, "other side after reading input", POLLHUP, pfd1.revents); in main()
186 report(num++, "after second shutdown", POLLIN | POLLHUP, pfd0.revents); in main()
189 report(num++, "after second shutdown", POLLHUP, pfd1.revents); in main()
193 report(num++, "after close", POLLHUP, pfd1.revents); in main()
214 report(num++, "after shutdown(SHUT_WR)", POLLHUP, pfd0.revents); in main()
H A Dpipepoll.c31 case POLLHUP: in decode_events()
34 case POLLIN | POLLHUP: in decode_events()
145 report(num++, "3", POLLHUP, pfd.revents, res, 1); in child()
186 report(num++, "6", POLLIN | POLLHUP, pfd.revents, res, 1); in child()
191 report(num++, "6a", POLLHUP, pfd.revents, res, 1); in child()
203 report(num++, "6b", POLLHUP, pfd.revents, res, 1); in child()
207 report(num++, "6c", POLLHUP, pfd.revents, res, 1); in child()
211 report(num++, "6d", POLLHUP, pfd.revents, res, 1); in child()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h59 #ifndef POLLHUP
60 # define POLLHUP 0x0010 macro
/freebsd/sys/sys/
H A Dpoll.h80 #define POLLHUP 0x0010 /* file descriptor was "hung up" */ macro
86 POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
/freebsd/contrib/less/
H A Dos.c140 if (ignore_eoi && exit_F_on_close && (poller[0].revents & (POLLHUP|POLLIN)) == POLLHUP) in check_poll()
143 if ((poller[0].revents & (POLLIN|POLLHUP|POLLERR)) == 0) in check_poll()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c52 pfd.events = POLLIN | POLLHUP | POLLOUT; in child1()
64 pfd.events = POLLIN | POLLHUP | POLLOUT; in child2()
79 pfd.events = POLLIN | POLLHUP | POLLOUT; in child3()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Deventpoll.h37 #define EPOLLHUP POLLHUP
/freebsd/lib/libpam/modules/pam_exec/
H A Dpam_exec.c346 pfd[0].events = POLLHUP; in _pam_exec()
351 pfd[nfds].events = POLLIN|POLLERR|POLLHUP; in _pam_exec()
357 pfd[nfds].events = POLLIN|POLLERR|POLLHUP; in _pam_exec()
363 pfd[nfds].events = POLLOUT|POLLERR|POLLHUP; in _pam_exec()
/freebsd/contrib/ntp/sntp/libevent/
H A Devport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) { in evport_dispatch()
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL)) in evport_dispatch()
H A Ddevpoll.c206 if (what & POLLHUP) in devpoll_dispatch()
/freebsd/contrib/libevent/
H A Devport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) { in evport_dispatch()
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL)) in evport_dispatch()
/freebsd/sys/fs/deadfs/
H A Ddead_vnops.c149 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events)); in dead_poll()
/freebsd/contrib/capsicum-test/
H A Dprocdesc.cc374 fdp.events = POLLIN | POLLERR | POLLHUP; in TEST_F()
382 EXPECT_TRUE(fdp.revents & POLLHUP); in TEST_F()
387 EXPECT_TRUE(fdp.revents & POLLHUP); in TEST_F()
426 fdp.events = POLLIN | POLLERR | POLLHUP; in TEST_F()
443 EXPECT_TRUE(fdp.revents & POLLHUP); in TEST_F()
/freebsd/contrib/ofed/librdmacm/examples/
H A Dcommon.c166 return ret == 1 ? (fds->revents & (POLLERR | POLLHUP)) : ret; in do_poll()
/freebsd/crypto/openssh/
H A Dssh-pkcs11-helper.c388 if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) { in main()
400 if ((pfd[1].revents & (POLLOUT|POLLHUP)) != 0) { in main()
/freebsd/lib/libdevdctl/
H A Dconsumer.cc246 if ((fds->revents & POLLHUP) != 0) in EventsPending()
/freebsd/tools/test/gpioevents/
H A Dgpioevents.c126 case POLLHUP: in poll_event_to_str()
280 if (fds.revents & (POLLHUP | POLLERR)) { in run_poll()
/freebsd/contrib/netcat/
H A Dnetcat.c934 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()
939 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
943 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()
949 if (pfd[POLL_STDOUT].revents & POLLHUP) in readwrite()

1234