Home
last modified time | relevance | path

Searched refs:__poll_t (Results 1 – 25 of 254) sorted by relevance

1234567891011

/linux/include/uapi/linux/
H A Deventpoll.h31 #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 Dpoll.h39 __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 Deventfd.h38 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 Drpmsg.h191 __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 Dposix-clock.h59 __poll_t (*poll)(struct posix_clock_context *pccontext, struct file *file,
H A Dpsi.h31 __poll_t psi_trigger_poll(void **trigger_ptr, struct file *file,
/linux/include/uapi/asm-generic/
H A Dpoll.h32 #define POLLFREE (__force __poll_t)0x4000
34 #define POLL_BUSY_LOOP (__force __poll_t)0x8000
/linux/io_uring/
H A Dpoll.h16 __poll_t events;
44 int io_arm_apoll(struct io_kiocb *req, unsigned issue_flags, __poll_t mask);
H A Dpoll.c29 __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 During_cmd.h26 unsigned int issue_flags, __poll_t mask);
/linux/include/media/
H A Ddvb_vb2.h129 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 Dvideobuf2-v4l2.h293 __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 Dmedia-devnode.h51 __poll_t (*poll) (struct file *, struct poll_table_struct *);
/linux/net/qrtr/
H A Dtun.c114 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 Dsaa6588.h23 __poll_t poll_mask;
/linux/sound/core/seq/oss/
H A Dseq_oss_rw.c184 __poll_t
187 __poll_t mask = 0; in snd_seq_oss_poll()
/linux/drivers/vfio/
H A Dvirqfd.c43 __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 Dhw_ops.c46 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 Dbacking_ops.c76 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 Dvhost.h61 __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 Dtpm-dev.h30 __poll_t tpm_common_poll(struct file *file, poll_table *wait);
/linux/fs/proc/
H A Dkmsg.c40 static __poll_t kmsg_poll(struct file *file, poll_table *wait) in kmsg_poll()
/linux/drivers/char/
H A Ddtlk.c95 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 Dkfd_smi_events.c49 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 DusX2Yhwdep.c63 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()

1234567891011