switch_ctx         59 drivers/md/dm-switch.c static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned nr_paths,
switch_ctx         62 drivers/md/dm-switch.c 	struct switch_ctx *sctx;
switch_ctx         78 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        126 drivers/md/dm-switch.c static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr,
switch_ctx        140 drivers/md/dm-switch.c static unsigned switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr)
switch_ctx        154 drivers/md/dm-switch.c static unsigned switch_get_path_nr(struct switch_ctx *sctx, sector_t offset)
switch_ctx        174 drivers/md/dm-switch.c static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr,
switch_ctx        192 drivers/md/dm-switch.c static void initialise_region_table(struct switch_ctx *sctx)
switch_ctx        206 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        235 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        255 drivers/md/dm-switch.c 		{1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number of paths"},
switch_ctx        260 drivers/md/dm-switch.c 	struct switch_ctx *sctx;
switch_ctx        321 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        373 drivers/md/dm-switch.c static int process_set_region_mappings(struct switch_ctx *sctx,
switch_ctx        474 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        492 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        517 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;
switch_ctx        536 drivers/md/dm-switch.c 	struct switch_ctx *sctx = ti->private;