Home
last modified time | relevance | path

Searched refs:switch_ctx (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-switch.c39 struct switch_ctx { struct
60 static struct switch_ctx *alloc_switch_ctx(struct dm_target *ti, unsigned int nr_paths, in alloc_switch_ctx() argument
63 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 …]