Home
last modified time | relevance | path

Searched refs:EPOLLERR (Results 1 – 25 of 85) 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()
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 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/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 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/drivers/hv/
H A Dhv_utils_transport.c106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
/linux/net/core/
H A Ddatagram.c82 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 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/drivers/input/serio/
H A Dserio_raw.c224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_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; in snd_compr_poll()
/linux/drivers/s390/char/
H A Dmonreader.c430 return EPOLLERR; in mon_poll()
/linux/drivers/media/mc/
H A Dmc-request.c112 ret = EPOLLERR; in media_request_poll()
/linux/drivers/misc/ocxl/
H A Dfile.c340 mask = EPOLLERR; in afu_poll()
/linux/drivers/usb/class/
H A Dcdc-wdm.c687 mask = EPOLLHUP | EPOLLERR; in wdm_poll()
694 mask |= EPOLLERR; in wdm_poll()
/linux/kernel/sched/
H A Dpsi.c1520 return DEFAULT_POLLMASK | EPOLLERR | EPOLLPRI; in psi_trigger_poll()
1524 return DEFAULT_POLLMASK | EPOLLERR | EPOLLPRI; in psi_trigger_poll()
/linux/drivers/xen/
H A Devtchn.c631 mask = EPOLLERR; in evtchn_poll()
/linux/drivers/hid/
H A Dhidraw.c272 mask |= EPOLLERR | EPOLLHUP; in hidraw_poll()

1234