/freebsd/tools/regression/poll/m/ |
H A D | pipepoll.out | 4 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 D | pipepoll.out | 4 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 D | sockpoll.out | 6 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 D | pipepoll.out | 4 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 D | pipepoll.out | 4 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 D | pipepoll.out | 4 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 D | sockpoll.out | 6 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 D | sockpoll.c | 46 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 D | pipepoll.c | 31 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 D | bsd-poll.h | 59 #ifndef POLLHUP 60 # define POLLHUP 0x0010 macro
|
/freebsd/sys/sys/ |
H A D | poll.h | 80 #define POLLHUP 0x0010 /* file descriptor was "hung up" */ macro 86 POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
|
/freebsd/contrib/less/ |
H A D | os.c | 140 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 D | t_poll.c | 52 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 D | eventpoll.h | 37 #define EPOLLHUP POLLHUP
|
/freebsd/lib/libpam/modules/pam_exec/ |
H A D | pam_exec.c | 346 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 D | evport.c | 341 if (pevt->portev_events & (POLLERR|POLLHUP)) { in evport_dispatch() 353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL)) in evport_dispatch()
|
H A D | devpoll.c | 206 if (what & POLLHUP) in devpoll_dispatch()
|
/freebsd/contrib/libevent/ |
H A D | evport.c | 341 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 D | dead_vnops.c | 149 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events)); in dead_poll()
|
/freebsd/contrib/capsicum-test/ |
H A D | procdesc.cc | 374 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 D | common.c | 166 return ret == 1 ? (fds->revents & (POLLERR | POLLHUP)) : ret; in do_poll()
|
/freebsd/crypto/openssh/ |
H A D | ssh-pkcs11-helper.c | 388 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 D | consumer.cc | 246 if ((fds->revents & POLLHUP) != 0) in EventsPending()
|
/freebsd/tools/test/gpioevents/ |
H A D | gpioevents.c | 126 case POLLHUP: in poll_event_to_str() 280 if (fds.revents & (POLLHUP | POLLERR)) { in run_poll()
|
/freebsd/contrib/netcat/ |
H A D | netcat.c | 934 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()
|