Searched refs:POLLHUP (Results 1 – 16 of 16) sorted by relevance
| /linux/tools/perf/tests/ |
| A 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()
|
| A D | builtin-test.c | 308 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL, in finish_test()
|
| /linux/include/uapi/asm-generic/ |
| A D | poll.h | 10 #define POLLHUP 0x0010 macro
|
| /linux/samples/uhid/ |
| A D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { in main() 445 if (pfds[1].revents & POLLHUP) { in main()
|
| /linux/tools/testing/vsock/ |
| A D | vsock_perf.c | 208 POLLHUP | POLLRDHUP; in run_receiver() 238 if (fds.revents & (POLLHUP | POLLRDHUP)) in run_receiver()
|
| A D | vsock_test.c | 1442 POLLRDHUP | POLLHUP; in test_stream_credit_update_test()
|
| /linux/samples/nitro_enclaves/ |
| A 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/tools/include/nolibc/ |
| A D | types.h | 164 #define POLLHUP 0x0010 macro
|
| /linux/drivers/virt/acrn/ |
| A D | irqfd.c | 89 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
|
| /linux/tools/testing/selftests/hid/ |
| A D | hidraw.c | 185 ASSERT_TRUE(pfds[0].revents & POLLHUP); in TEST_F()
|
| /linux/tools/perf/ |
| A D | builtin-daemon.c | 1308 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1312 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1316 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
|
| A D | builtin-record.c | 1267 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable); in record__alloc_thread_data() 1715 if (fdarray__filter(pollfd, POLLERR | POLLHUP, in record__thread() 1720 if (pollfd->entries[ctlfd_pos].revents & POLLHUP) { in record__thread() 2725 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP, in __cmd_record()
|
| A D | builtin-trace.c | 4435 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
|
| /linux/tools/lib/perf/ |
| A D | evlist.c | 349 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
|
| /linux/tools/testing/selftests/seccomp/ |
| A D | seccomp_bpf.c | 3953 pollfd.events = POLLHUP; in TEST() 3956 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST() 4096 pollfd.events = POLLHUP; in TEST() 4099 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
|
| /linux/tools/perf/util/ |
| A D | evlist.c | 2269 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()
|
Completed in 85 milliseconds