/kernel/linux/linux-5.10/tools/perf/tests/ |
H 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() 135 pr_debug("\nfdarray__add(fda, 35, POLLHUP) should have allocated fda->pollfd!"); in test__fdarray__add() 147 FDA_CHECK(2, 35, POLLHUP); in test__fdarray__add() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H 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() 135 pr_debug("\nfdarray__add(fda, 35, POLLHUP) should have allocated fda->pollfd!"); in test__fdarray__add() 147 FDA_CHECK(2, 35, POLLHUP); in test__fdarray__add() [all...] |
/kernel/liteos_m/kal/posix/src/ |
H A D | poll.c | 108 table->event = tmpFds->events | POLLERR | POLLHUP; in QueryFds() 116 tmpFds->revents = (tmpFds->events | POLLERR | POLLHUP) & (PollEvent)ret; in QueryFds()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | poll.h | 45 #define POLLHUP 0x010 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | poll.h | 10 #define POLLHUP 0x0010 macro
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | poll.h | 10 #define POLLHUP 0x0010 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | poll.h | 12 #define POLLHUP 0x0010 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | poll.h | 25 #define POLLHUP 0x0010 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | poll.h | 25 #define POLLHUP 0x0010 macro
|
/kernel/liteos_a/fs/vfs/epoll/ |
H A D | fs_epoll.c | 268 epHead->evs[epHead->nodeCount].events = ev->events | POLLERR | POLLHUP; in epoll_ctl() 292 epHead->evs[i].events = ev->events | POLLERR | POLLHUP; in epoll_ctl()
|
/kernel/linux/linux-5.10/samples/uhid/ |
H A D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { in main() 445 if (pfds[1].revents & POLLHUP) { in main()
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_perf.c | 204 POLLHUP | POLLRDHUP; in run_receiver() 234 if (fds.revents & (POLLHUP | POLLRDHUP)) in run_receiver()
|
/kernel/linux/linux-6.6/samples/uhid/ |
H A D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { in main() 445 if (pfds[1].revents & POLLHUP) { in main()
|
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | types.h | 165 #define POLLHUP 0x0010 macro
|
/kernel/linux/linux-5.10/samples/nitro_enclaves/ |
H A 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() 232 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
|
/kernel/linux/linux-6.6/samples/nitro_enclaves/ |
H 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() 231 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
|
/kernel/linux/linux-6.6/drivers/virt/acrn/ |
H A D | irqfd.c | 89 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
|
/kernel/liteos_a/net/telnet/src/ |
H A D | telnet_loop.c | 368 if ((UINT16)pollFd.revents & (POLLERR | POLLHUP | POLLRDHUP)) { in TelnetClientLoop()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A 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()
|
H A 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() 2665 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP, in __cmd_record()
|
/kernel/linux/linux-5.10/tools/lib/perf/ |
H A D | evlist.c | 313 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd() 461 * I.e. we can get the POLLHUP meaning that the fd doesn't exist in mmap_per_evsel()
|
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | evlist.c | 343 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd() 492 * I.e. we can get the POLLHUP meaning that the fd doesn't exist in mmap_per_evsel()
|
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 3872 pollfd.events = POLLHUP; in TEST() 3875 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST() 3958 pollfd.events = POLLHUP; in TEST() 3961 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
|
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A 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()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | evlist.c | 1973 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()
|