switch_ctx
static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr,
static unsigned int switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr)
static unsigned int switch_get_path_nr(struct switch_ctx *sctx, sector_t offset)
static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr,
static void initialise_region_table(struct switch_ctx *sctx)
struct switch_ctx *sctx = ti->private;
struct switch_ctx *sctx = ti->private;
{1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number of paths"},
struct switch_ctx *sctx;
struct switch_ctx *sctx = ti->private;
static int process_set_region_mappings(struct switch_ctx *sctx,
struct switch_ctx *sctx = ti->private;
struct switch_ctx *sctx = ti->private;
struct switch_ctx *sctx = ti->private;
struct switch_ctx *sctx = ti->private;
static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned int nr_paths,
struct switch_ctx *sctx;
struct switch_ctx *sctx = ti->private;