#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/namei.h>
#include <linux/io_uring.h>
#include <linux/splice.h>
#include <uapi/linux/io_uring.h>
#include "io_uring.h"
#include "splice.h"
struct io_splice { … };
static int __io_splice_prep(struct io_kiocb *req,
const struct io_uring_sqe *sqe)
{ … }
int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{ … }
int io_tee(struct io_kiocb *req, unsigned int issue_flags)
{ … }
int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{ … }
int io_splice(struct io_kiocb *req, unsigned int issue_flags)
{ … }