Searched refs:switch_ctx (Results 1 – 1 of 1) sorted by relevance
39 struct switch_ctx { struct60 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned int nr_paths, in alloc_switch_ctx() argument63 struct switch_ctx *sctx; in alloc_switch_ctx()79 struct switch_ctx *sctx = ti->private; in alloc_region_table()127 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position()141 static unsigned int switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read()155 static unsigned int switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr()175 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write()193 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()207 struct switch_ctx *sctx = ti->private; in parse_path()[all …]