Lines Matching full:sx
25 struct io_statx *sx = io_kiocb_to_cmd(req, struct io_statx); in io_statx_prep() local
33 sx->dfd = READ_ONCE(sqe->fd); in io_statx_prep()
34 sx->mask = READ_ONCE(sqe->len); in io_statx_prep()
36 sx->buffer = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_statx_prep()
37 sx->flags = READ_ONCE(sqe->statx_flags); in io_statx_prep()
39 sx->filename = getname_flags(path, in io_statx_prep()
40 getname_statx_lookup_flags(sx->flags)); in io_statx_prep()
42 if (IS_ERR(sx->filename)) { in io_statx_prep()
43 int ret = PTR_ERR(sx->filename); in io_statx_prep()
45 sx->filename = NULL; in io_statx_prep()
56 struct io_statx *sx = io_kiocb_to_cmd(req, struct io_statx); in io_statx() local
61 ret = do_statx(sx->dfd, sx->filename, sx->flags, sx->mask, sx->buffer); in io_statx()
68 struct io_statx *sx = io_kiocb_to_cmd(req, struct io_statx); in io_statx_cleanup() local
70 if (sx->filename) in io_statx_cleanup()
71 putname(sx->filename); in io_statx_cleanup()