Home
last modified time | relevance | path

Searched refs:EPOLLHUP (Results 1 – 25 of 65) sorted by relevance

123

/linux/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c62 TEST_ASSERT(!(evt.events & (EPOLLERR | EPOLLHUP)), in uffd_handler_thread_fn()
63 "Reader thread received EPOLLERR or EPOLLHUP on pipe."); in uffd_handler_thread_fn()
70 TEST_ASSERT(!(evt.events & (EPOLLERR | EPOLLHUP)), in uffd_handler_thread_fn()
71 "Reader thread received EPOLLERR or EPOLLHUP on uffd."); in uffd_handler_thread_fn()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_module.c274 ev.events = EPOLLHUP; in test_detach_link()
291 if (!ASSERT_TRUE(events[0].events & EPOLLHUP, "events[0].events")) in test_detach_link()
/linux/include/uapi/linux/
H A Deventpoll.h35 #define EPOLLHUP (__force __poll_t)0x00000010 macro
/linux/arch/um/os-Linux/
H A Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c132 ev.events = EPOLLIN | EPOLLHUP; in start_thread()
214 if (events & EPOLLHUP) { in child_output()
/linux/drivers/vfio/
H A Dvirqfd.c56 if (flags & EPOLLHUP) { in virqfd_wakeup()
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c135 ev.events = EPOLLIN | EPOLLHUP; in child_start()
210 if (events & EPOLLHUP) { in child_output()
/linux/sound/usb/usx2y/
H A DusX2Yhwdep.c72 return EPOLLHUP; in snd_us428ctls_poll()
/linux/drivers/media/rc/
H A Dlirc_dev.c591 events = EPOLLHUP | EPOLLERR; in lirc_poll()
783 wake_up_poll(&fh->wait_poll, EPOLLHUP | EPOLLERR); in lirc_unregister()
/linux/tools/testing/vsock/
H A Dutil.c80 ev.events = EPOLLRDHUP | EPOLLHUP; in vsock_wait_remote_close()
99 assert(ev.events & (EPOLLRDHUP | EPOLLHUP)); in vsock_wait_remote_close()
/linux/fs/
H A Deventfd.c113 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release()
H A Deventpoll.c216 #define EPOLLEXCLUSIVE_OK_BITS (EPOLLINOUT_BITS | EPOLLERR | EPOLLHUP | \
2694 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl_file()
2714 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl_file()
/linux/kernel/sched/
H A Dwait.c231 __wake_up(wq_head, TASK_NORMAL, 0, poll_to_key(EPOLLHUP | POLLFREE)); in __wake_up_pollfree()
/linux/drivers/gnss/
H A Dcore.c197 mask |= EPOLLHUP; in gnss_poll()
/linux/drivers/hv/
H A Dhv_utils_transport.c106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
/linux/net/core/
H A Ddatagram.c960 mask |= EPOLLHUP; in datagram_poll_queue()
971 mask |= EPOLLHUP; in datagram_poll_queue()
/linux/drivers/usb/misc/
H A Diowarrior.c688 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
694 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
/linux/drivers/input/
H A Devdev.c426 wake_up_interruptible_poll(&client->wait, EPOLLHUP | EPOLLERR); in evdev_hangup()
624 mask = EPOLLHUP | EPOLLERR; in evdev_poll()
952 wake_up_interruptible_poll(&client->wait, EPOLLHUP | EPOLLERR); in evdev_revoke()
/linux/tools/perf/bench/
H A Depoll-ctl.c119 ev.events = EPOLLHUP; /* anything */ in nest_epollfd()
/linux/drivers/input/serio/
H A Dserio_raw.c224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
/linux/net/bluetooth/
H A Daf_bluetooth.c594 mask |= EPOLLHUP; in bt_sock_poll()
600 mask |= EPOLLHUP; in bt_sock_poll()
/linux/net/nfc/
H A Dllcp_sock.c584 mask |= EPOLLHUP; in llcp_sock_poll()
590 mask |= EPOLLHUP; in llcp_sock_poll()
/linux/drivers/platform/chrome/
H A Dcros_ec_chardev.c233 return EPOLLHUP; in cros_ec_chardev_poll()
/linux/kernel/
H A Dseccomp.c536 wake_up_poll(&orig->wqh, EPOLLHUP); in __seccomp_filter_orphan()
1517 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR | EPOLLHUP))) in recv_wake_function()
1877 ret |= EPOLLHUP; in seccomp_notify_poll()
/linux/drivers/hid/
H A Dhidraw.c272 mask |= EPOLLERR | EPOLLHUP; in hidraw_poll()

123