Searched refs:POLLHUP (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/tools/perf/tests/ |
D | fdarray.c | 42 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/ |
D | poll.h | 10 #define POLLHUP 0x0010 macro
|
/Linux-v5.10/samples/uhid/ |
D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { in main() 445 if (pfds[1].revents & POLLHUP) { in main()
|
/Linux-v5.10/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 207 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/ |
D | evlist.c | 313 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
|
/Linux-v5.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3857 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/ |
D | evlist.c | 1965 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()
|
/Linux-v5.10/tools/perf/ |
D | builtin-record.c | 1938 if (evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
|
D | builtin-trace.c | 4103 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
|