linux/io_uring/advise.c

// SPDX-License-Identifier: GPL-2.0
#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 <uapi/linux/fadvise.h>
#include <uapi/linux/io_uring.h>

#include "io_uring.h"
#include "advise.h"

struct io_fadvise {};

struct io_madvise {};

int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{}

int io_madvise(struct io_kiocb *req, unsigned int issue_flags)
{}

static bool io_fadvise_force_async(struct io_fadvise *fa)
{}

int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{}

int io_fadvise(struct io_kiocb *req, unsigned int issue_flags)
{}