Home
last modified time | relevance | path

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

12345678910>>...15

/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
41 #define EPOLLMSG (__force __poll_t)0x00000400
42 #define EPOLLRDHUP (__force __poll_t)0x00002000
[all …]
/linux/include/linux/
H A Dpoll.h39 __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 Deventpoll.h74 epoll_put_uevent(__poll_t revents, __u64 data,
78 epoll_put_uevent(__poll_t revents, __u64 data, in epoll_put_uevent()
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()
/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/drivers/media/pci/ivtv/
H A Divtv-fileops.h19 __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 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);
/linux/io_uring/
H A Dpoll.c29 __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 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/fs/
H A Deventfd.c56 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 Dpidfs.c89 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 Dvhost.h48 __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 Dsaa6588.h23 __poll_t poll_mask;
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-radio-tx.h12 __poll_t vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait);
H A Dvivid-radio-rx.h12 __poll_t vivid_radio_rx_poll(struct file *file, struct poll_table_struct *wait);
/linux/sound/core/seq/oss/
H A Dseq_oss_rw.c184 __poll_t
187 __poll_t mask = 0; in snd_seq_oss_poll()
/linux/sound/firewire/bebob/
H A Dbebob_hwdep.c52 static __poll_t
56 __poll_t events; in hwdep_poll()
/linux/sound/firewire/dice/
H A Ddice-hwdep.c54 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 Ddigi00x-hwdep.c62 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 Doxfw-hwdep.c52 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 Dvirqfd.c43 __poll_t flags = key_to_poll(key); in virqfd_wakeup()
120 __poll_t events; in vfio_virqfd_enable()
/linux/sound/firewire/fireface/
H A Dff-hwdep.c71 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 Dthread_with_file.c215 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 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()

12345678910>>...15