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

/linux-master/tools/perf/tests/
H A Dfdarray.c42 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
49 fdarray__init_revents(fda, POLLHUP);
50 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
57 fdarray__init_revents(fda, POLLHUP);
62 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
69 fdarray__init_revents(fda, POLLHUP);
75 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL);
132 FDA_ADD(2, 35, POLLHUP, 3);
135 pr_debug("\nfdarray__add(fda, 35, POLLHUP) should have allocated fda->pollfd!");
147 FDA_CHECK(2, 35, POLLHUP);
[all...]
H A Dbuiltin-test.c309 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
312 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
/linux-master/include/uapi/asm-generic/
H A Dpoll.h10 #define POLLHUP 0x0010 macro
/linux-master/tools/include/nolibc/
H A Dtypes.h164 #define POLLHUP 0x0010 macro
/linux-master/samples/uhid/
H A Duhid-example.c441 if (pfds[0].revents & POLLHUP) {
445 if (pfds[1].revents & POLLHUP) {
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c206 fds[0].events = POLLIN | POLLERR | POLLHUP;
230 if (fds[0].revents & POLLHUP) {
231 printf("Received POLLHUP\n");
/linux-master/tools/testing/vsock/
H A Dvsock_perf.c208 POLLHUP | POLLRDHUP;
238 if (fds.revents & (POLLHUP | POLLRDHUP))
H A Dvsock_test.c1367 POLLRDHUP | POLLHUP;
/linux-master/drivers/virt/acrn/
H A Dirqfd.c89 if (poll_bits & POLLHUP)
/linux-master/tools/perf/
H A Dbuiltin-daemon.c1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0);
1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0);
1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0);
H A Dbuiltin-record.c1257 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable);
1707 if (fdarray__filter(pollfd, POLLERR | POLLHUP,
1712 if (pollfd->entries[ctlfd_pos].revents & POLLHUP) {
2724 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP,
H A Dbuiltin-trace.c4032 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
/linux-master/tools/lib/perf/
H A Devlist.c349 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags);
498 * I.e. we can get the POLLHUP meaning that the fd doesn't exist
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3951 pollfd.events = POLLHUP;
3954 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0);
4040 pollfd.events = POLLHUP;
4043 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0);
/linux-master/tools/perf/util/
H A Devlist.c2197 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR))

Completed in 217 milliseconds