xref: /openbmc/linux/io_uring/fs.h (revision 4b7444ff)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 int io_renameat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
4 int io_renameat(struct io_kiocb *req, unsigned int issue_flags);
5 void io_renameat_cleanup(struct io_kiocb *req);
6 
7 int io_unlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
8 int io_unlinkat(struct io_kiocb *req, unsigned int issue_flags);
9 void io_unlinkat_cleanup(struct io_kiocb *req);
10 
11 int io_mkdirat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
12 int io_mkdirat(struct io_kiocb *req, unsigned int issue_flags);
13 void io_mkdirat_cleanup(struct io_kiocb *req);
14 
15 int io_symlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
16 int io_symlinkat(struct io_kiocb *req, unsigned int issue_flags);
17 
18 int io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
19 int io_linkat(struct io_kiocb *req, unsigned int issue_flags);
20 void io_link_cleanup(struct io_kiocb *req);
21