Lines Matching defs:sqe
889 static __poll_t io_poll_parse_events(const struct io_uring_sqe *sqe,
894 events = READ_ONCE(sqe->poll32_events);
906 int io_poll_remove_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
911 if (sqe->buf_index || sqe->splice_fd_in)
913 flags = READ_ONCE(sqe->len);
921 upd->old_user_data = READ_ONCE(sqe->addr);
925 upd->new_user_data = READ_ONCE(sqe->off);
929 upd->events = io_poll_parse_events(sqe, flags);
930 else if (sqe->poll32_events)
936 int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
941 if (sqe->buf_index || sqe->off || sqe->addr)
943 flags = READ_ONCE(sqe->len);
949 poll->events = io_poll_parse_events(sqe, flags);