Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
A 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/include/uapi/asm-generic/
A Dpoll.h10 #define POLLHUP 0x0010 macro
/linux/samples/uhid/
A Duhid-example.c441 if (pfds[0].revents & POLLHUP) { in main()
445 if (pfds[1].revents & POLLHUP) { in main()
/linux/samples/nitro_enclaves/
A Dne_ioctl_sample.c206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd()
230 if (fds[0].revents & POLLHUP) { in ne_poll_enclave_fd()
/linux/drivers/virt/acrn/
A Dirqfd.c90 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
/linux/tools/perf/
A Dbuiltin-daemon.c1307 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()
A Dbuiltin-record.c1954 if (evlist__filter_pollfd(rec->evlist, POLLERR | POLLHUP) == 0) in __cmd_record()
A Dbuiltin-trace.c4130 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
/linux/tools/lib/perf/
A Devlist.c319 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
/linux/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c3870 pollfd.events = POLLHUP; in TEST()
3873 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
3956 pollfd.events = POLLHUP; in TEST()
3959 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
/linux/tools/perf/util/
A Devlist.c2110 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()

Completed in 43 milliseconds