Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/tests/
H 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()
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 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()
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 Dpoll.c108 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 Dpoll.h45 #define POLLHUP 0x010 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dpoll.h10 #define POLLHUP 0x0010 macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dpoll.h10 #define POLLHUP 0x0010 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dpoll.h12 #define POLLHUP 0x0010 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dpoll.h25 #define POLLHUP 0x0010 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dpoll.h25 #define POLLHUP 0x0010 macro
/kernel/liteos_a/fs/vfs/epoll/
H A Dfs_epoll.c268 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 Duhid-example.c441 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 Dvsock_perf.c204 POLLHUP | POLLRDHUP; in run_receiver()
234 if (fds.revents & (POLLHUP | POLLRDHUP)) in run_receiver()
/kernel/linux/linux-6.6/samples/uhid/
H A Duhid-example.c441 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 Dtypes.h165 #define POLLHUP 0x0010 macro
/kernel/linux/linux-5.10/samples/nitro_enclaves/
H A Dne_ioctl_sample.c207 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 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()
231 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
/kernel/linux/linux-6.6/drivers/virt/acrn/
H A Dirqfd.c89 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
/kernel/liteos_a/net/telnet/src/
H A Dtelnet_loop.c368 if ((UINT16)pollFd.revents & (POLLERR | POLLHUP | POLLRDHUP)) { in TelnetClientLoop()
/kernel/linux/linux-6.6/tools/perf/
H 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()
H A Dbuiltin-record.c1188 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 Devlist.c313 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 Devlist.c343 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 Dseccomp_bpf.c3872 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 Dseccomp_bpf.c3945 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 Devlist.c1973 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()

Completed in 29 milliseconds

12