Searched refs:POLLHUP (Results 1 - 15 of 15) sorted by relevance
/linux-master/tools/perf/tests/ |
H A D | fdarray.c | 42 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 D | builtin-test.c | 309 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL, 312 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
|
/linux-master/include/uapi/asm-generic/ |
H A D | poll.h | 10 #define POLLHUP 0x0010 macro
|
/linux-master/tools/include/nolibc/ |
H A D | types.h | 164 #define POLLHUP 0x0010 macro
|
/linux-master/samples/uhid/ |
H A D | uhid-example.c | 441 if (pfds[0].revents & POLLHUP) { 445 if (pfds[1].revents & POLLHUP) {
|
/linux-master/samples/nitro_enclaves/ |
H A D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; 230 if (fds[0].revents & POLLHUP) { 231 printf("Received POLLHUP\n");
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_perf.c | 208 POLLHUP | POLLRDHUP; 238 if (fds.revents & (POLLHUP | POLLRDHUP))
|
H A D | vsock_test.c | 1367 POLLRDHUP | POLLHUP;
|
/linux-master/drivers/virt/acrn/ |
H A D | irqfd.c | 89 if (poll_bits & POLLHUP)
|
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 1307 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 D | builtin-record.c | 1257 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 D | builtin-trace.c | 4032 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
|
/linux-master/tools/lib/perf/ |
H A D | evlist.c | 349 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 D | seccomp_bpf.c | 3951 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 D | evlist.c | 2197 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR))
|
Completed in 217 milliseconds