Home
last modified time | relevance | path

Searched refs:EPOLLERR (Results 1 – 25 of 99) sorted by relevance

1234

/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_epoll_oneshot.pkt4 // 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 Dtcp_zerocopy_epoll_edge.pkt4 // 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 Dtcp_zerocopy_epoll_exclusive.pkt4 // 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 Duserfaultfd_util.c62 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 Deventpoll.h34 #define EPOLLERR (__force __poll_t)0x00000008 macro
/linux/arch/um/os-Linux/
H A Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c611 return EPOLLERR; in fops_poll()
616 return EPOLLERR; in fops_poll()
626 return EPOLLERR; in fops_poll()
/linux/io_uring/
H A Dcmd_net.c116 ret = io_cmd_poll_multishot(cmd, issue_flags, EPOLLERR); in io_uring_cmd_timestamp()
/linux/drivers/media/dvb-core/
H A Ddmxdev.c1212 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 Dvc_screen.c699 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR; in vcs_poll()
708 ret = DEFAULT_POLLMASK|EPOLLHUP|EPOLLERR; in vcs_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/kernel/time/
H A Dposix-clock.c65 return EPOLLERR; in posix_clock_poll()
/linux/fs/
H A Deventfd.c169 events |= EPOLLERR; in eventfd_poll()
H A Dfcntl.c834 EPOLLERR, /* POLL_ERR */
836 EPOLLHUP | EPOLLERR /* POLL_HUP */
H A Deventpoll.c90 #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 Devdev.c421 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 Ddatagram.c82 if (key && !(key_to_poll(key) & (EPOLLIN | EPOLLERR))) in receiver_wake_function()
950 mask |= EPOLLERR | in datagram_poll_queue()
/linux/drivers/hv/
H A Dhv_utils_transport.c106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
/linux/fs/kernfs/
H A Dfile.c862 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 Dserio_raw.c224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
/linux/drivers/hid/
H A Dhid-roccat.c144 return EPOLLERR | EPOLLHUP; in roccat_poll()
/linux/sound/core/
H A Dcompress_offload.c443 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 Dtrans_fd.c199 return EPOLLERR; in p9_fd_poll()
595 if (n & (EPOLLERR | EPOLLHUP | EPOLLNVAL)) { in p9_poll_mux()
/linux/drivers/s390/char/
H A Dmonreader.c430 return EPOLLERR; in mon_poll()
/linux/drivers/misc/mei/
H A Dmain.c819 return EPOLLERR; in mei_poll()
829 mask = EPOLLERR; in mei_poll()

1234