Searched refs:POLLHUP (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/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-6.6.21/include/uapi/asm-generic/ |
D | poll.h | 10 #define POLLHUP 0x0010 macro
|
/linux-6.6.21/samples/uhid/ |
D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { in main() 445 if (pfds[1].revents & POLLHUP) { in main()
|
/linux-6.6.21/tools/testing/vsock/ |
D | vsock_perf.c | 204 POLLHUP | POLLRDHUP; in run_receiver() 234 if (fds.revents & (POLLHUP | POLLRDHUP)) in run_receiver()
|
/linux-6.6.21/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd() 230 if (fds[0].revents & POLLHUP) { in ne_poll_enclave_fd()
|
/linux-6.6.21/tools/include/nolibc/ |
D | types.h | 165 #define POLLHUP 0x0010 macro
|
/linux-6.6.21/drivers/virt/acrn/ |
D | irqfd.c | 89 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
|
/linux-6.6.21/tools/perf/ |
D | builtin-daemon.c | 1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
|
D | builtin-record.c | 1188 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable); in record__alloc_thread_data() 1663 if (fdarray__filter(pollfd, POLLERR | POLLHUP, in record__thread() 1668 if (pollfd->entries[ctlfd_pos].revents & POLLHUP) { in record__thread() 2686 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP, in __cmd_record()
|
D | builtin-trace.c | 4032 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
|
/linux-6.6.21/tools/lib/perf/ |
D | evlist.c | 343 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
|
/linux-6.6.21/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3945 pollfd.events = POLLHUP; in TEST() 3948 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST() 4034 pollfd.events = POLLHUP; in TEST() 4037 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
|
/linux-6.6.21/tools/perf/util/ |
D | evlist.c | 2179 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()
|