/linux/include/uapi/linux/ |
H A D | eventpoll.h | 31 #define EPOLLIN (__force __poll_t)0x00000001 32 #define EPOLLPRI (__force __poll_t)0x00000002 33 #define EPOLLOUT (__force __poll_t)0x00000004 34 #define EPOLLERR (__force __poll_t)0x00000008 35 #define EPOLLHUP (__force __poll_t)0x00000010 36 #define EPOLLNVAL (__force __poll_t)0x00000020 37 #define EPOLLRDNORM (__force __poll_t)0x00000040 38 #define EPOLLRDBAND (__force __poll_t)0x00000080 41 #define EPOLLMSG (__force __poll_t)0x00000400 42 #define EPOLLRDHUP (__force __poll_t)0x00002000 [all …]
|
/linux/include/linux/ |
H A D | poll.h | 39 __poll_t _key; 64 static inline __poll_t poll_requested_events(const poll_table *p) in poll_requested_events() 66 return p ? p->_key : ~(__poll_t)0; in poll_requested_events() 72 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr() 80 static inline __poll_t vfs_poll(struct file *file, struct poll_table_struct *pt) in vfs_poll() 89 __poll_t key; 122 static inline __u16 mangle_poll(__poll_t val) in mangle_poll() 132 static inline __poll_t demangle_poll(u16 val) in demangle_poll() 134 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll()
|
H A D | eventpoll.h | 74 epoll_put_uevent(__poll_t revents, __u64 data, 78 epoll_put_uevent(__poll_t revents, __u64 data, in epoll_put_uevent()
|
H A D | eventfd.h | 38 void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask); 60 static inline void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask) in eventfd_signal_mask()
|
/linux/include/uapi/asm-generic/ |
H A D | poll.h | 32 #define POLLFREE (__force __poll_t)0x4000 34 #define POLL_BUSY_LOOP (__force __poll_t)0x8000
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.h | 19 __poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table * wait); 20 __poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table * wait);
|
/linux/include/media/ |
H A D | dvb_vb2.h | 129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, in dvb_vb2_poll() 186 __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
|
H A D | videobuf2-v4l2.h | 293 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); 349 __poll_t vb2_fop_poll(struct file *file, poll_table *wait);
|
/linux/io_uring/ |
H A D | poll.c | 29 __poll_t events; 41 __poll_t result_mask; 172 static void io_init_poll_iocb(struct io_poll *poll, __poll_t events) in io_init_poll_iocb() 323 __poll_t mask = mangle_poll(req->cqe.res & in io_poll_check_events() 434 __poll_t mask = key_to_poll(key); in io_poll_wake() 581 struct io_poll_table *ipt, __poll_t mask, in __io_arm_poll_handler() 719 __poll_t mask = POLLPRI | POLLERR | EPOLLET; in io_arm_poll_handler() 902 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe, in io_poll_parse_events()
|
/linux/net/qrtr/ |
H A D | tun.c | 114 static __poll_t qrtr_tun_poll(struct file *filp, poll_table *wait) in qrtr_tun_poll() 117 __poll_t mask = 0; in qrtr_tun_poll()
|
/linux/fs/ |
H A D | eventfd.c | 56 void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask) in eventfd_signal_mask() 118 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll() 121 __poll_t events = 0; in eventfd_poll()
|
H A D | pidfs.c | 89 static __poll_t pidfd_poll(struct file *file, struct poll_table_struct *pts) in pidfd_poll() 94 __poll_t poll_flags = 0; in pidfd_poll()
|
/linux/drivers/vhost/ |
H A D | vhost.h | 48 __poll_t mask; 54 __poll_t mask, struct vhost_dev *dev, 239 __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
/linux/include/media/i2c/ |
H A D | saa6588.h | 23 __poll_t poll_mask;
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-tx.h | 12 __poll_t vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait);
|
H A D | vivid-radio-rx.h | 12 __poll_t vivid_radio_rx_poll(struct file *file, struct poll_table_struct *wait);
|
/linux/sound/core/seq/oss/ |
H A D | seq_oss_rw.c | 184 __poll_t 187 __poll_t mask = 0; in snd_seq_oss_poll()
|
/linux/sound/firewire/bebob/ |
H A D | bebob_hwdep.c | 52 static __poll_t 56 __poll_t events; in hwdep_poll()
|
/linux/sound/firewire/dice/ |
H A D | dice-hwdep.c | 54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() 58 __poll_t events; in hwdep_poll()
|
/linux/sound/firewire/digi00x/ |
H A D | digi00x-hwdep.c | 62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() 66 __poll_t events; in hwdep_poll()
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-hwdep.c | 52 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() 56 __poll_t events; in hwdep_poll()
|
/linux/drivers/vfio/ |
H A D | virqfd.c | 43 __poll_t flags = key_to_poll(key); in virqfd_wakeup() 120 __poll_t events; in vfio_virqfd_enable()
|
/linux/sound/firewire/fireface/ |
H A D | ff-hwdep.c | 71 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() 75 __poll_t events; in hwdep_poll()
|
/linux/fs/bcachefs/ |
H A D | thread_with_file.c | 215 static __poll_t thread_with_stdio_poll(struct file *file, struct poll_table_struct *wait) in thread_with_stdio_poll() 223 __poll_t mask = 0; in thread_with_stdio_poll() 234 static __poll_t thread_with_stdout_poll(struct file *file, struct poll_table_struct *wait) in thread_with_stdout_poll() 241 __poll_t mask = 0; in thread_with_stdout_poll()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | hw_ops.c | 46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll() 49 __poll_t ret = 0; in spu_hw_mbox_stat_poll()
|