Home
last modified time | relevance | path

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

123

/freebsd-14-stable/tools/regression/poll/m/
HDpipepoll.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-14-stable/tools/regression/poll/l/
HDpipepoll.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
HDsockpoll.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-14-stable/tools/regression/poll/n/
HDpipepoll.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-14-stable/tools/regression/poll/7/
HDpipepoll.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-14-stable/tools/regression/poll/4/
HDpipepoll.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-14-stable/tools/regression/poll/14/
HDsockpoll.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-14-stable/tools/regression/poll/
HDsockpoll.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()
HDpipepoll.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-14-stable/crypto/openssh/openbsd-compat/
HDbsd-poll.h59 #ifndef POLLHUP
60 # define POLLHUP 0x0010 macro
/freebsd-14-stable/sys/sys/
HDpoll.h80 #define POLLHUP 0x0010 /* file descriptor was "hung up" */ macro
86 POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
/freebsd-14-stable/contrib/less/
HDos.c138 if (ignore_eoi && exit_F_on_close && (poller[0].revents & (POLLHUP|POLLIN)) == POLLHUP) in check_poll()
141 if ((poller[0].revents & (POLLIN|POLLHUP|POLLERR)) == 0) in check_poll()
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/sys/
HDt_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-14-stable/sys/compat/linuxkpi/common/include/linux/
HDeventpoll.h37 #define EPOLLHUP POLLHUP
/freebsd-14-stable/lib/libpam/modules/pam_exec/
HDpam_exec.c347 pfd[0].events = POLLHUP; in _pam_exec()
352 pfd[nfds].events = POLLIN|POLLERR|POLLHUP; in _pam_exec()
358 pfd[nfds].events = POLLIN|POLLERR|POLLHUP; in _pam_exec()
364 pfd[nfds].events = POLLOUT|POLLERR|POLLHUP; in _pam_exec()
/freebsd-14-stable/usr.sbin/bhyve/
HDnet_backend_slirp.c266 ret |= POLLHUP; in slirpev2pollev()
284 if (events & POLLHUP) in pollev2slirpev()
338 if ((pollfd->events & POLLHUP) == 0) in slirp_poll_revents()
339 revents &= ~POLLHUP; in slirp_poll_revents()
/freebsd-14-stable/contrib/libevent/
HDevport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) { in evport_dispatch()
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL)) in evport_dispatch()
/freebsd-14-stable/contrib/ntp/sntp/libevent/
HDevport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) { in evport_dispatch()
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL)) in evport_dispatch()
/freebsd-14-stable/sys/fs/deadfs/
HDdead_vnops.c151 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events)); in dead_poll()
/freebsd-14-stable/contrib/capsicum-test/
HDprocdesc.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-14-stable/contrib/ofed/librdmacm/examples/
HDcommon.c166 return ret == 1 ? (fds->revents & (POLLERR | POLLHUP)) : ret; in do_poll()
/freebsd-14-stable/crypto/openssh/
HDssh-pkcs11-helper.c409 if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) { in main()
421 if ((pfd[1].revents & (POLLOUT|POLLHUP)) != 0) { in main()
/freebsd-14-stable/lib/libdevdctl/
HDconsumer.cc246 if ((fds->revents & POLLHUP) != 0) in EventsPending()
/freebsd-14-stable/contrib/netcat/
HDnetcat.c931 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()
936 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
940 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()
946 if (pfd[POLL_STDOUT].revents & POLLHUP) in readwrite()
/freebsd-14-stable/tools/test/gpioevents/
HDgpioevents.c126 case POLLHUP: in poll_event_to_str()
280 if (fds.revents & (POLLHUP | POLLERR)) { in run_poll()

123