linux/drivers/md/dm-unstripe.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2017 Intel Corporation.
 *
 * This file is released under the GPL.
 */

#include "dm.h"

#include <linux/module.h>

struct unstripe_c {};

#define DM_MSG_PREFIX

static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti)
{}

/*
 * Contruct an unstriped mapping.
 * <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
 */
static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv)
{}

static void unstripe_dtr(struct dm_target *ti)
{}

static sector_t map_to_core(struct dm_target *ti, struct bio *bio)
{}

static int unstripe_map(struct dm_target *ti, struct bio *bio)
{}

static void unstripe_status(struct dm_target *ti, status_type_t type,
			    unsigned int status_flags, char *result, unsigned int maxlen)
{}

static int unstripe_iterate_devices(struct dm_target *ti,
				    iterate_devices_callout_fn fn, void *data)
{}

static void unstripe_io_hints(struct dm_target *ti,
			       struct queue_limits *limits)
{}

static struct target_type unstripe_target =;
module_dm(unstripe);

MODULE_DESCRIPTION();
MODULE_ALIAS();
MODULE_AUTHOR();
MODULE_LICENSE();