Lines Matching refs:sqe
25 int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
29 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in))
32 sync->off = READ_ONCE(sqe->off);
33 sync->len = READ_ONCE(sqe->len);
34 sync->flags = READ_ONCE(sqe->sync_range_flags);
53 int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
57 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in))
60 sync->flags = READ_ONCE(sqe->fsync_flags);
64 sync->off = READ_ONCE(sqe->off);
65 sync->len = READ_ONCE(sqe->len);
85 int io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
89 if (sqe->buf_index || sqe->rw_flags || sqe->splice_fd_in)
92 sync->off = READ_ONCE(sqe->off);
93 sync->len = READ_ONCE(sqe->addr);
94 sync->mode = READ_ONCE(sqe->len);