Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-switch.c157 unsigned int path_nr; in switch_get_path_nr() local
166 path_nr = switch_region_table_read(sctx, p); in switch_get_path_nr()
169 if (unlikely(path_nr >= sctx->nr_paths)) in switch_get_path_nr()
170 path_nr = 0; in switch_get_path_nr()
172 return path_nr; in switch_get_path_nr()
195 unsigned int path_nr = 0; in initialise_region_table() local
199 switch_region_table_write(sctx, region_nr, path_nr); in initialise_region_table()
200 if (++path_nr >= sctx->nr_paths) in initialise_region_table()
201 path_nr = 0; in initialise_region_table()
324 unsigned int path_nr = switch_get_path_nr(sctx, offset); in switch_map() local
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Dswitch.rst94 set_region_mappings <index>:<path_nr> [<index>]:<path_nr> [<index>]:<path_nr>...
104 <path_nr>