Lines Matching refs:fa
65 static bool io_fadvise_force_async(struct io_fadvise *fa)
67 switch (fa->advice) {
79 struct io_fadvise *fa = io_kiocb_to_cmd(req, struct io_fadvise);
84 fa->offset = READ_ONCE(sqe->off);
85 fa->len = READ_ONCE(sqe->len);
86 fa->advice = READ_ONCE(sqe->fadvise_advice);
87 if (io_fadvise_force_async(fa))
94 struct io_fadvise *fa = io_kiocb_to_cmd(req, struct io_fadvise);
97 WARN_ON_ONCE(issue_flags & IO_URING_F_NONBLOCK && io_fadvise_force_async(fa));
99 ret = vfs_fadvise(req->file, fa->offset, fa->len, fa->advice);