Home
last modified time | relevance | path

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

123456

/linux-6.15/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.
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 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.
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 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.
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 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-6.15/include/uapi/linux/
H A Deventpoll.h34 #define EPOLLERR (__force __poll_t)0x00000008 macro
/linux-6.15/arch/um/os-Linux/
H A Dirq.c51 return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP; in os_event_mask()
/linux-6.15/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c612 return EPOLLERR; in fops_poll()
617 return EPOLLERR; in fops_poll()
627 return EPOLLERR; in fops_poll()
/linux-6.15/fs/bcachefs/
H A Dthread_with_file.c239 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 Dseq_oss.c206 return EPOLLERR; in odev_poll()
/linux-6.15/drivers/tty/vt/
H A Dvc_screen.c715 __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 Ddmxdev.c1196 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 Dmc-devnode.c100 return EPOLLERR | EPOLLHUP; in media_poll()
/linux-6.15/drivers/isdn/mISDN/
H A Dtimerdev.c139 __poll_t mask = EPOLLERR; in mISDN_poll()
/linux-6.15/drivers/media/rc/
H A Dlirc_dev.c591 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 Ddatagram.c80 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 Dgpiolib-cdev.c577 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 Dposix-clock.c65 return EPOLLERR; in posix_clock_poll()
/linux-6.15/fs/
H A Deventfd.c169 events |= EPOLLERR; in eventfd_poll()
H A Dproc_namespace.c34 res |= EPOLLERR | EPOLLPRI; in mounts_poll()
/linux-6.15/drivers/hv/
H A Dhv_utils_transport.c106 return EPOLLERR | EPOLLHUP; in hvt_op_poll()
/linux-6.15/drivers/usb/misc/
H A Diowarrior.c709 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
715 return EPOLLERR | EPOLLHUP; in iowarrior_poll()
/linux-6.15/io_uring/
H A Dpoll.c134 #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 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-6.15/drivers/input/serio/
H A Dserio_raw.c224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
/linux-6.15/drivers/hid/
H A Dhid-roccat.c144 return EPOLLERR | EPOLLHUP; in roccat_poll()

123456