| /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() 70 TEST_ASSERT(!(evt.events & (EPOLLERR | EPOLLHUP)), 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/dvb-core/ |
| H A D | dmxdev.c | 1212 return EPOLLERR; in dvb_demux_poll() 1222 mask |= (EPOLLIN | EPOLLRDNORM | EPOLLPRI | EPOLLERR); in dvb_demux_poll() 1350 return EPOLLERR; in dvb_dvr_poll() 1357 mask |= (EPOLLIN | EPOLLRDNORM | EPOLLPRI | EPOLLERR); in dvb_dvr_poll()
|
| /linux/drivers/tty/vt/ |
| H A D | vc_screen.c | 699 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR; in vcs_poll() 708 ret = DEFAULT_POLLMASK|EPOLLHUP|EPOLLERR; in vcs_poll()
|
| /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 | fcntl.c | 834 EPOLLERR, /* POLL_ERR */ 836 EPOLLHUP | EPOLLERR /* POLL_HUP */
|
| H A D | eventpoll.c | 90 #define EPOLLEXCLUSIVE_OK_BITS (EPOLLINOUT_BITS | EPOLLERR | EPOLLHUP | \ 2342 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl() 2362 epds->events |= EPOLLERR | EPOLLHUP; in do_epoll_ctl()
|
| /linux/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/net/core/ |
| H A D | datagram.c | 82 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function() 950 mask |= EPOLLERR | in datagram_poll_queue()
|
| /linux/drivers/hv/ |
| H A D | hv_utils_transport.c | 106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
|
| /linux/fs/kernfs/ |
| H A D | file.c | 862 return DEFAULT_POLLMASK|EPOLLERR|EPOLLPRI; in kernfs_generic_poll() 874 return DEFAULT_POLLMASK|EPOLLERR|EPOLLPRI; in kernfs_fop_poll()
|
| /linux/drivers/input/serio/ |
| H A D | serio_raw.c | 224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
|
| /linux/drivers/hid/ |
| H A D | hid-roccat.c | 144 return EPOLLERR | EPOLLHUP; in roccat_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;
|
| /linux/net/9p/ |
| H A D | trans_fd.c | 199 return EPOLLERR; in p9_fd_poll() 595 if (n & (EPOLLERR | EPOLLHUP | EPOLLNVAL)) { in p9_poll_mux()
|
| /linux/drivers/s390/char/ |
| H A D | monreader.c | 430 return EPOLLERR; in mon_poll()
|
| /linux/drivers/misc/mei/ |
| H A D | main.c | 819 return EPOLLERR; in mei_poll() 829 mask = EPOLLERR; in mei_poll()
|