linux/drivers/nvme/target/io-cmd-file.c

// SPDX-License-Identifier: GPL-2.0
/*
 * NVMe Over Fabrics Target File I/O commands implementation.
 * Copyright (c) 2017-2018 Western Digital Corporation or its
 * affiliates.
 */
#define pr_fmt(fmt)
#include <linux/uio.h>
#include <linux/falloc.h>
#include <linux/file.h>
#include <linux/fs.h>
#include "nvmet.h"

#define NVMET_MIN_MPOOL_OBJ

void nvmet_file_ns_revalidate(struct nvmet_ns *ns)
{}

void nvmet_file_ns_disable(struct nvmet_ns *ns)
{}

int nvmet_file_ns_enable(struct nvmet_ns *ns)
{}

static ssize_t nvmet_file_submit_bvec(struct nvmet_req *req, loff_t pos,
		unsigned long nr_segs, size_t count, int ki_flags)
{}

static void nvmet_file_io_done(struct kiocb *iocb, long ret)
{}

static bool nvmet_file_execute_io(struct nvmet_req *req, int ki_flags)
{}

static void nvmet_file_buffered_io_work(struct work_struct *w)
{}

static void nvmet_file_submit_buffered_io(struct nvmet_req *req)
{}

static void nvmet_file_execute_rw(struct nvmet_req *req)
{}

u16 nvmet_file_flush(struct nvmet_req *req)
{}

static void nvmet_file_flush_work(struct work_struct *w)
{}

static void nvmet_file_execute_flush(struct nvmet_req *req)
{}

static void nvmet_file_execute_discard(struct nvmet_req *req)
{}

static void nvmet_file_dsm_work(struct work_struct *w)
{}

static void nvmet_file_execute_dsm(struct nvmet_req *req)
{}

static void nvmet_file_write_zeroes_work(struct work_struct *w)
{}

static void nvmet_file_execute_write_zeroes(struct nvmet_req *req)
{}

u16 nvmet_file_parse_io_cmd(struct nvmet_req *req)
{}