| /linux-6.15/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_zerocopy_epoll_oneshot.pkt | 4 // This is a test to confirm that EPOLLERR is only fired once for an FD when 7 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 9 // with MSG_ZEROCOPY. confirm that EPOLLERR is not fired. Rearm the FD and 10 // confirm that EPOLLERR is correctly set. 38 // receive only one EPOLLERR for the two sends above. 39 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 46 // receive no EPOLLERR for the third send above. 49 // rearm the FD and verify the EPOLLERR is fired again. 51 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
|
| H A D | tcp_zerocopy_epoll_edge.pkt | 4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but 7 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 9 // MSG_ZEROCOPY. confirm that EPOLLERR is correctly fired again only once. 37 // receive only one EPOLLERR for the two sends above. 38 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 45 // receive only one EPOLLERR for the third send above. 46 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
|
| H A D | tcp_zerocopy_epoll_exclusive.pkt | 4 // EPOLLERR is known to be not edge-triggered unlike EPOLLIN and EPOLLOUT but 8 // fire two sends with MSG_ZEROCOPY and receive the acks. confirm that EPOLLERR 10 // MSG_ZEROCOPY. confirm that EPOLLERR is correctly fired again only once. 39 // receive only one EPOLLERR for the two sends above. 40 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 47 // receive only one EPOLLERR for the third send above. 48 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
|
| /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/include/uapi/linux/ |
| H A D | eventpoll.h | 34 #define EPOLLERR (__force __poll_t)0x00000008 macro
|
| /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/drivers/media/pci/saa7164/ |
| H A D | saa7164-vbi.c | 612 return EPOLLERR; in fops_poll() 617 return EPOLLERR; in fops_poll() 627 return EPOLLERR; in fops_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/core/seq/oss/ |
| H A D | seq_oss.c | 206 return EPOLLERR; in odev_poll()
|
| /linux-6.15/drivers/tty/vt/ |
| H A D | vc_screen.c | 715 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR; in vcs_poll() 724 ret = DEFAULT_POLLMASK|EPOLLHUP|EPOLLERR; in vcs_poll()
|
| /linux-6.15/drivers/media/dvb-core/ |
| H A D | dmxdev.c | 1196 return EPOLLERR; in dvb_demux_poll() 1206 mask |= (EPOLLIN | EPOLLRDNORM | EPOLLPRI | EPOLLERR); in dvb_demux_poll() 1347 return EPOLLERR; in dvb_dvr_poll() 1354 mask |= (EPOLLIN | EPOLLRDNORM | EPOLLPRI | EPOLLERR); in dvb_dvr_poll()
|
| /linux-6.15/drivers/media/mc/ |
| H A D | mc-devnode.c | 100 return EPOLLERR | EPOLLHUP; in media_poll()
|
| /linux-6.15/drivers/isdn/mISDN/ |
| H A D | timerdev.c | 139 __poll_t mask = EPOLLERR; in mISDN_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/core/ |
| H A D | datagram.c | 80 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function() 895 mask |= EPOLLERR | in datagram_poll()
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpiolib-cdev.c | 577 wake_up_poll(&lr->wait, EPOLLIN | EPOLLERR); in linereq_unregistered_notify() 1497 return EPOLLHUP | EPOLLERR; in linereq_poll() 1815 return EPOLLHUP | EPOLLERR; in lineevent_poll() 1831 wake_up_poll(&le->wait, EPOLLIN | EPOLLERR); in lineevent_unregistered_notify() 2597 wake_up_poll(&cdev->wait, EPOLLIN | EPOLLERR); in gpio_device_unregistered_notify() 2611 return EPOLLHUP | EPOLLERR; in lineinfo_watch_poll()
|
| /linux-6.15/kernel/time/ |
| H A D | posix-clock.c | 65 return EPOLLERR; in posix_clock_poll()
|
| /linux-6.15/fs/ |
| H A D | eventfd.c | 169 events |= EPOLLERR; in eventfd_poll()
|
| H A D | proc_namespace.c | 34 res |= EPOLLERR | EPOLLPRI; in mounts_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/io_uring/ |
| H A D | poll.c | 134 #define IO_POLL_UNMASK (EPOLLERR|EPOLLHUP|EPOLLNVAL|EPOLLRDHUP) in io_init_poll_iocb() 276 if (unlikely(req->cqe.res & EPOLLERR)) in io_poll_check_events()
|
| /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/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()
|