Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/tests/
Dfdarray.c42 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
49 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
50 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
57 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
62 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
69 fdarray__init_revents(fda, POLLHUP); in test__fdarray__filter()
75 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
132 FDA_ADD(2, 35, POLLHUP, 3); in test__fdarray__add()
147 FDA_CHECK(2, 35, POLLHUP); in test__fdarray__add()
/Linux-v5.10/include/uapi/asm-generic/
Dpoll.h10 #define POLLHUP 0x0010 macro
/Linux-v5.10/samples/uhid/
Duhid-example.c441 if (pfds[0].revents & POLLHUP) { in main()
445 if (pfds[1].revents & POLLHUP) { in main()
/Linux-v5.10/samples/nitro_enclaves/
Dne_ioctl_sample.c207 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd()
231 if (fds[0].revents & POLLHUP) { in ne_poll_enclave_fd()
/Linux-v5.10/tools/lib/perf/
Devlist.c313 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
/Linux-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c3857 pollfd.events = POLLHUP; in TEST()
3860 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
3943 pollfd.events = POLLHUP; in TEST()
3946 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
/Linux-v5.10/tools/perf/util/
Devlist.c1965 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()
/Linux-v5.10/tools/perf/
Dbuiltin-record.c1938 if (evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
Dbuiltin-trace.c4103 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)