Lines Matching refs:sqe
902 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe,
907 events = READ_ONCE(sqe->poll32_events);
919 int io_poll_remove_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
924 if (sqe->buf_index || sqe->splice_fd_in)
926 flags = READ_ONCE(sqe->len);
934 upd->old_user_data = READ_ONCE(sqe->addr);
938 upd->new_user_data = READ_ONCE(sqe->off);
942 upd->events = io_poll_parse_events(sqe, flags);
943 else if (sqe->poll32_events)
949 int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
954 if (sqe->buf_index || sqe->off || sqe->addr)
956 flags = READ_ONCE(sqe->len);
962 poll->events = io_poll_parse_events(sqe, flags);