Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/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()
147 FDA_CHECK(2, 35, POLLHUP); in test__fdarray__add()
/openbmc/linux/include/uapi/asm-generic/
H A Dpoll.h10 #define POLLHUP 0x0010 macro
/openbmc/qemu/util/
H A Dfdmon-io_uring.c64 (pfd_events & G_IO_HUP ? POLLHUP : 0) | in poll_events_from_pfd()
72 (poll_events & POLLHUP ? G_IO_HUP : 0) | in pfd_events_from_poll()
/openbmc/linux/samples/uhid/
H A Duhid-example.c441 if (pfds[0].revents & POLLHUP) { in main()
445 if (pfds[1].revents & POLLHUP) { in main()
/openbmc/linux/tools/testing/vsock/
H A Dvsock_perf.c204 POLLHUP | POLLRDHUP; in run_receiver()
234 if (fds.revents & (POLLHUP | POLLRDHUP)) in run_receiver()
/openbmc/linux/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()
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py69 …gister(self.fd, select.POLLIN | select.POLLPRI | select.POLLERR | select.POLLHUP | select.POLLNVAL)
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h165 #define POLLHUP 0x0010 macro
/openbmc/linux/drivers/virt/acrn/
H A Dirqfd.c89 if (poll_bits & POLLHUP) in hsm_irqfd_wakeup()
/openbmc/linux/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.c1219 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable); in record__alloc_thread_data()
1665 if (fdarray__filter(pollfd, POLLERR | POLLHUP, in record__thread()
1670 if (pollfd->entries[ctlfd_pos].revents & POLLHUP) { in record__thread()
2669 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP, in __cmd_record()
H A Dbuiltin-trace.c4035 if (evlist__filter_pollfd(evlist, POLLERR | POLLHUP | POLLNVAL) == 0)
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.h385 VU_WATCH_HUP = POLLHUP,
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dqemurunner.py738 self.errorevents = select.POLLERR | select.POLLHUP | select.POLLNVAL
873 elif select.POLLHUP == event:
/openbmc/linux/tools/lib/perf/
H A Devlist.c349 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3952 pollfd.events = POLLHUP; in TEST()
3955 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
4041 pollfd.events = POLLHUP; in TEST()
4044 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
/openbmc/linux/tools/perf/util/
H A Devlist.c2212 if (entries[ctlfd_pos].revents & (POLLHUP | POLLERR)) in evlist__ctlfd_process()