Home
last modified time | relevance | path

Searched refs:__poll_t (Results 1 – 25 of 368) 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
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 Deventpoll.h78 epoll_put_uevent(__poll_t revents, __u64 data,
82 epoll_put_uevent(__poll_t revents, __u64 data, in epoll_put_uevent()
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_poll()
/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/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()
300 __poll_t mask = mangle_poll(req->cqe.res & in io_poll_check_events()
403 __poll_t mask = key_to_poll(key); in io_poll_wake()
550 struct io_poll_table *ipt, __poll_t mask, in __io_arm_poll_handler()
675 int io_arm_apoll(struct io_kiocb *req, unsigned issue_flags, __poll_t mask) in io_arm_apoll()
704 __poll_t mask = POLLPRI | POLLERR; in io_arm_poll_handler()
832 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe, in io_poll_parse_events()
/linux/include/media/ !
H A Ddvb_vb2.h126 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx,
187 __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/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 Dselect.c465 static inline __poll_t select_poll_one(int fd, poll_table *wait, unsigned long in, in select_poll_one()
467 __poll_t ll_flag) in select_poll_one()
490 __poll_t busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; in do_select()
522 __poll_t mask; in do_select()
849 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd()
851 __poll_t busy_flag) in do_pollfd()
854 __poll_t mask, filter; in do_pollfd()
879 __poll_t busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; in do_poll()
901 __poll_t mask; in do_poll()
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 Deventpoll.c656 __poll_t pollflags) in ep_poll_safewake()
971 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, int depth);
973 static __poll_t __ep_eventpoll_poll(struct file *file, poll_table *wait, int depth) in __ep_eventpoll_poll()
979 __poll_t res = 0; in __ep_eventpoll_poll()
1044 static __poll_t ep_item_poll(const struct epitem *epi, poll_table *pt, in ep_item_poll()
1048 __poll_t res; in ep_item_poll()
1066 static __poll_t ep_eventpoll_poll(struct file *file, poll_table *wait) in ep_eventpoll_poll()
1252 __poll_t pollflags = key_to_poll(key); in ep_poll_callback()
1568 __poll_t revents; in ep_insert()
1790 __poll_t revents; in ep_send_events()
/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/sound/core/seq/oss/ !
H A Dseq_oss_rw.c184 __poll_t
187 __poll_t mask = 0; in snd_seq_oss_poll()
H A Dseq_oss.c49 static __poll_t odev_poll(struct file *file, poll_table * wait);
195 static __poll_t
/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/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);
/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()

12345678910>>...15