| /linux-6.15/tools/testing/selftests/kvm/lib/ |
| H A D | userfaultfd_util.c | 62 TEST_ASSERT(!(evt.events & (EPOLLERR | EPOLLHUP)), in uffd_handler_thread_fn() 70 TEST_ASSERT(!(evt.events & (EPOLLERR | EPOLLHUP)), in uffd_handler_thread_fn()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_struct_ops_module.c | 274 ev.events = EPOLLHUP; in test_detach_link() 291 if (!ASSERT_TRUE(events[0].events & EPOLLHUP, "events[0].events")) in test_detach_link()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | eventpoll.h | 35 #define EPOLLHUP (__force __poll_t)0x00000010 macro
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | busy_poller.c | 323 EPOLLHUP); in run_poller() 337 if (events[i].events & (EPOLLRDHUP | EPOLLHUP)) { in run_poller()
|
| /linux-6.15/arch/um/os-Linux/ |
| H A D | irq.c | 51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
|
| /linux-6.15/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-stress.c | 132 ev.events = EPOLLIN | EPOLLHUP; in start_thread() 214 if (events & EPOLLHUP) { in child_output()
|
| /linux-6.15/drivers/vfio/ |
| H A D | virqfd.c | 56 if (flags & EPOLLHUP) { in virqfd_wakeup()
|
| /linux-6.15/tools/testing/selftests/arm64/fp/ |
| H A D | fp-stress.c | 135 ev.events = EPOLLIN | EPOLLHUP; in child_start() 210 if (events & EPOLLHUP) { in child_output()
|
| /linux-6.15/drivers/tty/ |
| H A D | n_hdlc.c | 665 mask |= EPOLLHUP; in n_hdlc_tty_poll() 667 mask |= EPOLLHUP; in n_hdlc_tty_poll()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | thread_with_file.c | 239 mask |= EPOLLHUP|EPOLLERR; in thread_with_stdio_poll() 255 mask |= EPOLLHUP|EPOLLERR; in thread_with_stdout_poll()
|
| /linux-6.15/sound/usb/usx2y/ |
| H A D | usX2Yhwdep.c | 70 return EPOLLHUP; in snd_us428ctls_poll()
|
| /linux-6.15/tools/testing/vsock/ |
| H A D | util.c | 74 ev.events = EPOLLRDHUP | EPOLLHUP; in vsock_wait_remote_close() 93 assert(ev.events & (EPOLLRDHUP | EPOLLHUP)); in vsock_wait_remote_close()
|
| /linux-6.15/drivers/media/mc/ |
| H A D | mc-devnode.c | 100 return EPOLLERR | EPOLLHUP; in media_poll()
|
| /linux-6.15/drivers/media/rc/ |
| H A D | lirc_dev.c | 591 events = EPOLLHUP | EPOLLERR; in lirc_poll() 782 wake_up_poll(&fh->wait_poll, EPOLLHUP | EPOLLERR); in lirc_unregister()
|
| /linux-6.15/net/bluetooth/ |
| H A D | af_bluetooth.c | 544 mask |= EPOLLHUP; in bt_sock_poll() 550 mask |= EPOLLHUP; in bt_sock_poll()
|
| /linux-6.15/net/core/ |
| H A D | datagram.c | 902 mask |= EPOLLHUP; in datagram_poll() 913 mask |= EPOLLHUP; in datagram_poll()
|
| /linux-6.15/fs/ |
| H A D | eventfd.c | 113 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release()
|
| /linux-6.15/kernel/sched/ |
| H A D | wait.c | 211 __wake_up(wq_head, TASK_NORMAL, 0, poll_to_key(EPOLLHUP | POLLFREE)); in __wake_up_pollfree()
|
| /linux-6.15/drivers/gnss/ |
| H A D | core.c | 197 mask |= EPOLLHUP; in gnss_poll()
|
| /linux-6.15/drivers/hv/ |
| H A D | hv_utils_transport.c | 106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
|
| /linux-6.15/drivers/usb/misc/ |
| H A D | iowarrior.c | 709 return EPOLLERR | EPOLLHUP; in iowarrior_poll() 715 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
|
| /linux-6.15/drivers/input/ |
| H A D | evdev.c | 421 wake_up_interruptible_poll(&client->wait, EPOLLHUP | EPOLLERR); in evdev_hangup() 619 mask = EPOLLHUP | EPOLLERR; in evdev_poll() 947 wake_up_interruptible_poll(&client->wait, EPOLLHUP | EPOLLERR); in evdev_revoke()
|
| /linux-6.15/tools/perf/bench/ |
| H A D | epoll-ctl.c | 119 ev.events = EPOLLHUP; /* anything */ in nest_epollfd()
|
| /linux-6.15/drivers/input/serio/ |
| H A D | serio_raw.c | 224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-roccat.c | 144 return EPOLLERR | EPOLLHUP; in roccat_poll()
|