Symbol: POLLHUP
drivers/ptp/ptp_vmclock.c
443
return POLLHUP;
drivers/virt/acrn/irqfd.c
90
if (poll_bits & POLLHUP)
io_uring/poll.c
313
if ((req->cqe.res & (POLLHUP | POLLRDHUP)) && v != 1)
samples/nitro_enclaves/ne_ioctl_sample.c
206
fds[0].events = POLLIN | POLLERR | POLLHUP;
samples/nitro_enclaves/ne_ioctl_sample.c
230
if (fds[0].revents & POLLHUP) {
samples/uhid/uhid-example.c
441
if (pfds[0].revents & POLLHUP) {
samples/uhid/uhid-example.c
445
if (pfds[1].revents & POLLHUP) {
tools/lib/perf/evlist.c
434
int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags);
tools/perf/builtin-daemon.c
1306
sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0);
tools/perf/builtin-daemon.c
1310
file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0);
tools/perf/builtin-daemon.c
1314
signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0);
tools/perf/builtin-record.c
1256
POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable);
tools/perf/builtin-record.c
1776
if (fdarray__filter(pollfd, POLLERR | POLLHUP,
tools/perf/builtin-record.c
1781
if (pollfd->entries[ctlfd_pos].revents & POLLHUP) {
tools/perf/builtin-record.c
2811
if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP,
tools/perf/builtin-trace.c
4654
if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
tools/perf/tests/builtin-test.c
1025
pfds[num_pfds].events = POLLIN | POLLERR | POLLHUP | POLLNVAL;
tools/perf/tests/builtin-test.c
782
.events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
tools/perf/tests/builtin-test.c
955
if (revents & (POLLHUP | POLLERR | POLLNVAL)) {
tools/perf/tests/fdarray.c
132
FDA_ADD(2, 35, POLLHUP, 3);
tools/perf/tests/fdarray.c
147
FDA_CHECK(2, 35, POLLHUP);
tools/perf/tests/fdarray.c
42
nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
tools/perf/tests/fdarray.c
49
fdarray__init_revents(fda, POLLHUP);
tools/perf/tests/fdarray.c
50
nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
tools/perf/tests/fdarray.c
57
fdarray__init_revents(fda, POLLHUP);
tools/perf/tests/fdarray.c
62
nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
tools/perf/tests/fdarray.c
69
fdarray__init_revents(fda, POLLHUP);
tools/perf/tests/fdarray.c
75
nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
tools/perf/util/evlist.c
2291
if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR))
tools/testing/selftests/gpio/gpio-cdev-uaf.c
183
return (pfds.revents & ~(POLLHUP | POLLERR)) ? -1 : 0;
tools/testing/selftests/hid/hidraw.c
172
ASSERT_TRUE(pfds[0].revents & POLLHUP);
tools/testing/selftests/pidfd/pidfd_info_test.c
212
ASSERT_TRUE(!!(fds.revents & POLLHUP));
tools/testing/selftests/pidfd/pidfd_info_test.c
289
if (fds.revents & POLLHUP)
tools/testing/selftests/pidfd/pidfd_info_test.c
356
ASSERT_TRUE(!!(fds.revents & POLLHUP));
tools/testing/selftests/pidfd/pidfd_info_test.c
469
if (fds.revents & POLLHUP)
tools/testing/selftests/pidfd/pidfd_info_test.c
489
fds.events = POLLHUP;
tools/testing/selftests/pidfd/pidfd_info_test.c
494
ASSERT_TRUE(!!(fds.revents & POLLHUP));
tools/testing/selftests/pidfd/pidfd_info_test.c
532
ASSERT_FALSE(!!(fds.revents & POLLHUP));
tools/testing/selftests/pidfd/pidfd_info_test.c
625
if (fds.revents & POLLHUP)
tools/testing/selftests/pidfd/pidfd_info_test.c
636
fds.events = POLLHUP;
tools/testing/selftests/pidfd/pidfd_info_test.c
641
ASSERT_TRUE(!!(fds.revents & POLLHUP));
tools/testing/selftests/pidfd/pidfd_info_test.c
679
ASSERT_FALSE(!!(fds.revents & POLLHUP));
tools/testing/selftests/seccomp/seccomp_bpf.c
3980
pollfd.events = POLLHUP;
tools/testing/selftests/seccomp/seccomp_bpf.c
3983
EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0);
tools/testing/selftests/seccomp/seccomp_bpf.c
4123
pollfd.events = POLLHUP;
tools/testing/selftests/seccomp/seccomp_bpf.c
4126
EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0);
tools/testing/vsock/vsock_perf.c
208
POLLHUP | POLLRDHUP;
tools/testing/vsock/vsock_perf.c
238
if (fds.revents & (POLLHUP | POLLRDHUP))
tools/testing/vsock/vsock_test.c
1554
POLLRDHUP | POLLHUP;