| /linux/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. 41 // receive only one EPOLLERR for the two sends above. 42 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 49 // receive no EPOLLERR for the third send above. 52 // rearm the FD and verify the EPOLLERR is fired again. 54 +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. 40 // receive only one EPOLLERR for the two sends above. 41 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 48 // receive only one EPOLLERR for the third send above. 49 +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. 42 // receive only one EPOLLERR for the two sends above. 43 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1 50 // receive only one EPOLLERR for the third send above. 51 +0 epoll_wait(5, {events=EPOLLERR|EPOLLOUT, fd=4}, 1, 0) = 1
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | userfaultfd_util.c | 62 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/include/uapi/linux/ |
| H A D | eventpoll.h | 34 #define EPOLLERR (__force __poll_t)0x00000008 macro
|
| /linux/arch/um/os-Linux/ |
| H A D | irq.c | 51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
|
| /linux/drivers/media/pci/saa7164/ |
| H A D | saa7164-vbi.c | 611 return EPOLLERR; in fops_poll() 616 return EPOLLERR; in fops_poll() 626 return EPOLLERR; in fops_poll()
|
| /linux/io_uring/ |
| H A D | cmd_net.c | 116 ret = io_cmd_poll_multishot(cmd, issue_flags, EPOLLERR); in io_uring_cmd_timestamp()
|
| /linux/drivers/media/rc/ |
| H A D | lirc_dev.c | 591 events = EPOLLHUP | EPOLLERR; in lirc_poll() 783 wake_up_poll(&fh->wait_poll, EPOLLHUP | EPOLLERR); in lirc_unregister()
|
| /linux/kernel/time/ |
| H A D | posix-clock.c | 65 return EPOLLERR; in posix_clock_poll()
|
| /linux/fs/ |
| H A D | eventfd.c | 169 events |= EPOLLERR; in eventfd_poll()
|
| H A D | eventpoll.c | 216 #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/drivers/hv/ |
| H A D | hv_utils_transport.c | 106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
|
| /linux/net/core/ |
| H A D | datagram.c | 82 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function() 953 mask |= EPOLLERR | in datagram_poll_queue()
|
| /linux/drivers/usb/misc/ |
| H A D | iowarrior.c | 688 return EPOLLERR | EPOLLHUP; in iowarrior_poll() 694 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
|
| /linux/drivers/input/ |
| H A D | evdev.c | 426 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/drivers/input/serio/ |
| H A D | serio_raw.c | 224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
|
| /linux/sound/core/ |
| H A D | compress_offload.c | 443 return EPOLLERR; in snd_compr_poll() 453 return snd_compr_get_poll(stream) | EPOLLERR; in snd_compr_poll() 492 return snd_compr_get_poll(stream) | EPOLLERR; in snd_compr_poll()
|
| /linux/drivers/s390/char/ |
| H A D | monreader.c | 430 return EPOLLERR; in mon_poll()
|
| /linux/drivers/media/mc/ |
| H A D | mc-request.c | 112 ret = EPOLLERR; in media_request_poll()
|
| /linux/drivers/misc/ocxl/ |
| H A D | file.c | 340 mask = EPOLLERR; in afu_poll()
|
| /linux/drivers/usb/class/ |
| H A D | cdc-wdm.c | 687 mask = EPOLLHUP | EPOLLERR; in wdm_poll() 694 mask |= EPOLLERR; in wdm_poll()
|
| /linux/kernel/sched/ |
| H A D | psi.c | 1520 return DEFAULT_POLLMASK | EPOLLERR | EPOLLPRI; in psi_trigger_poll() 1524 return DEFAULT_POLLMASK | EPOLLERR | EPOLLPRI; in psi_trigger_poll()
|
| /linux/drivers/xen/ |
| H A D | evtchn.c | 631 mask = EPOLLERR; in evtchn_poll()
|
| /linux/drivers/hid/ |
| H A D | hidraw.c | 272 mask |= EPOLLERR | EPOLLHUP; in hidraw_poll()
|