xref: /openbmc/linux/io_uring/openclose.h (revision be2b81b5)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 int __io_close_fixed(struct io_ring_ctx *ctx, unsigned int issue_flags,
4 		     unsigned int offset);
5 
6 int io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
7 int io_openat(struct io_kiocb *req, unsigned int issue_flags);
8 void io_open_cleanup(struct io_kiocb *req);
9 
10 int io_openat2_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
11 int io_openat2(struct io_kiocb *req, unsigned int issue_flags);
12 
13 int io_close_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
14 int io_close(struct io_kiocb *req, unsigned int issue_flags);
15