Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.6.21/include/uapi/linux/
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-6.6.21/include/linux/
Dpoll.h43 __poll_t _key;
68 static inline __poll_t poll_requested_events(const poll_table *p) in poll_requested_events()
70 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
76 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
84 static inline __poll_t vfs_poll(struct file *file, struct poll_table_struct *pt) in vfs_poll()
93 __poll_t key;
126 static inline __u16 mangle_poll(__poll_t val) in mangle_poll()
136 static inline __poll_t demangle_poll(u16 val) in demangle_poll()
138 #define M(X) (__force __poll_t)__MAP(val, POLL##X, (__force __u16)EPOLL##X) in demangle_poll()
Deventpoll.h74 epoll_put_uevent(__poll_t revents, __u64 data,
78 epoll_put_uevent(__poll_t revents, __u64 data, in epoll_put_uevent()
/linux-6.6.21/include/uapi/asm-generic/
Dpoll.h32 #define POLLFREE (__force __poll_t)0x4000
34 #define POLL_BUSY_LOOP (__force __poll_t)0x8000
/linux-6.6.21/drivers/media/pci/ivtv/
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-6.6.21/include/media/
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,
Dvideobuf2-v4l2.h293 __poll_t vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait);
347 __poll_t vb2_fop_poll(struct file *file, poll_table *wait);
/linux-6.6.21/io_uring/
Dpoll.c27 __poll_t events;
39 __poll_t result_mask;
170 static void io_init_poll_iocb(struct io_poll *poll, __poll_t events) in io_init_poll_iocb()
316 __poll_t mask = mangle_poll(req->cqe.res & in io_poll_check_events()
428 __poll_t mask = key_to_poll(key); in io_poll_wake()
574 struct io_poll_table *ipt, __poll_t mask, in __io_arm_poll_handler()
705 __poll_t mask = POLLPRI | POLLERR | EPOLLET; in io_arm_poll_handler()
889 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe, in io_poll_parse_events()
/linux-6.6.21/net/qrtr/
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-6.6.21/drivers/vhost/
Dvhost.h46 __poll_t mask;
52 __poll_t mask, struct vhost_dev *dev,
238 __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
/linux-6.6.21/drivers/vfio/
Dvirqfd.c43 __poll_t flags = key_to_poll(key); in virqfd_wakeup()
113 __poll_t events; in vfio_virqfd_enable()
/linux-6.6.21/include/media/i2c/
Dsaa6588.h23 __poll_t poll_mask;
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-radio-tx.h12 __poll_t vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait);
Dvivid-radio-rx.h12 __poll_t vivid_radio_rx_poll(struct file *file, struct poll_table_struct *wait);
/linux-6.6.21/sound/core/seq/oss/
Dseq_oss_rw.c184 __poll_t
187 __poll_t mask = 0; in snd_seq_oss_poll()
/linux-6.6.21/sound/firewire/bebob/
Dbebob_hwdep.c52 static __poll_t
56 __poll_t events; in hwdep_poll()
/linux-6.6.21/sound/firewire/oxfw/
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-6.6.21/sound/firewire/dice/
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-6.6.21/sound/firewire/digi00x/
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-6.6.21/fs/
Deventfd.c46 __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, __poll_t mask) in eventfd_signal_mask()
130 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll()
133 __poll_t events = 0; in eventfd_poll()
Deventpoll.c539 __poll_t pollflags) in ep_poll_safewake()
839 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
841 static __poll_t __ep_eventpoll_poll(struct file *file, poll_table *wait, int depth) in __ep_eventpoll_poll()
847 __poll_t res = 0; in __ep_eventpoll_poll()
884 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
888 __poll_t res; in ep_item_poll()
898 static __poll_t ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll()
1172 __poll_t pollflags = key_to_poll(key); in ep_poll_callback()
1481 __poll_t revents; in ep_insert()
1703 __poll_t revents; in ep_send_events()
/linux-6.6.21/sound/firewire/fireface/
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-6.6.21/arch/powerpc/platforms/cell/spufs/
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()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_smi_events.c48 static __poll_t kfd_smi_ev_poll(struct file *, struct poll_table_struct *);
64 static __poll_t kfd_smi_ev_poll(struct file *filep, in kfd_smi_ev_poll()
68 __poll_t mask = 0; in kfd_smi_ev_poll()
/linux-6.6.21/drivers/xen/
Dpvcalls-front.h23 __poll_t pvcalls_front_poll(struct file *file,

12345678910>>...15