| /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 39 #define EPOLLWRNORM (__force __poll_t)0x00000100 40 #define EPOLLWRBAND (__force __poll_t)0x00000200 [all …]
|
| /linux/include/linux/ |
| H A D | poll.h | 39 __poll_t _key; 62 static inline __poll_t poll_requested_events(const poll_table *p) in poll_requested_events() 64 return p ? p->_key : ~(__poll_t)0; in poll_requested_events() 70 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr() 78 static inline __poll_t vfs_poll(struct file *file, struct poll_table_struct *pt) in vfs_poll() 87 __poll_t key; 120 static inline __u16 mangle_poll(__poll_t val) in mangle_poll() 130 static inline __poll_t demangle_poll(u16 val) in demangle_poll() 132 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll()
|
| 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()
|
| H A D | rpmsg.h | 191 __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, struct file *filp, 287 static inline __poll_t rpmsg_poll(struct rpmsg_endpoint *ept, in rpmsg_trysend()
|
| H A D | posix-clock.h | 59 __poll_t (*poll)(struct posix_clock_context *pccontext, struct file *file,
|
| H A D | psi.h | 31 __poll_t psi_trigger_poll(void **trigger_ptr, struct file *file,
|
| /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/io_uring/ |
| H A D | poll.h | 16 __poll_t events; 44 int io_arm_apoll(struct io_kiocb *req, unsigned issue_flags, __poll_t mask);
|
| H A D | poll.c | 29 __poll_t events; 41 __poll_t result_mask; 131 static void io_init_poll_iocb(struct io_poll *poll, __poll_t events) in io_init_poll_iocb() 299 __poll_t mask = mangle_poll(req->cqe.res & in io_poll_check_events() 398 __poll_t mask = key_to_poll(key); in io_poll_wake() 545 struct io_poll_table *ipt, __poll_t mask, in __io_arm_poll_handler() 670 int io_arm_apoll(struct io_kiocb *req, unsigned issue_flags, __poll_t mask) in io_arm_apoll() 699 __poll_t mask = POLLPRI | POLLERR; in io_arm_poll_handler() 827 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe, in io_poll_parse_events()
|
| H A D | uring_cmd.h | 26 unsigned int issue_flags, __poll_t mask);
|
| /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);
|
| H A D | media-devnode.h | 51 __poll_t (*poll) (struct file *, struct poll_table_struct *);
|
| /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/include/media/i2c/ |
| H A D | saa6588.h | 23 __poll_t poll_mask;
|
| /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/drivers/vfio/ |
| H A D | virqfd.c | 43 __poll_t flags = key_to_poll(key); in virqfd_wakeup() 119 __poll_t events; in vfio_virqfd_enable()
|
| /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()
|
| H A D | backing_ops.c | 76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll() 77 __poll_t events) in spu_backing_mbox_stat_poll() 79 __poll_t ret; in spu_backing_mbox_stat_poll()
|
| /linux/drivers/vhost/ |
| H A D | vhost.h | 61 __poll_t mask; 67 __poll_t mask, struct vhost_dev *dev, 274 __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-dev.h | 30 __poll_t tpm_common_poll(struct file *file, poll_table *wait);
|
| /linux/fs/proc/ |
| H A D | kmsg.c | 40 static __poll_t kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
|
| /linux/drivers/char/ |
| H A D | dtlk.c | 95 static __poll_t dtlk_poll(struct file *, poll_table *); 231 static __poll_t dtlk_poll(struct file *file, poll_table * wait) in dtlk_poll() 233 __poll_t mask = 0; in dtlk_poll()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_smi_events.c | 49 static __poll_t kfd_smi_ev_poll(struct file *, struct poll_table_struct *); 65 static __poll_t kfd_smi_ev_poll(struct file *filep, in kfd_smi_ev_poll() 69 __poll_t mask = 0; in kfd_smi_ev_poll()
|
| /linux/sound/usb/usx2y/ |
| H A D | usX2Yhwdep.c | 63 static __poll_t snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait) in snd_us428ctls_poll() 65 __poll_t mask = 0; in snd_us428ctls_poll()
|