Lines Matching refs:path_list
57 struct switch_path path_list[]; member
65 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL); in alloc_switch_ctx()
212 &sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
220 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
224 sctx->path_list[sctx->nr_paths].start = start; in parse_path()
239 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in switch_dtr()
326 bio_set_dev(bio, sctx->path_list[path_nr].dmdev->bdev); in switch_map()
327 bio->bi_iter.bi_sector = sctx->path_list[path_nr].start + offset; in switch_map()
505 DMEMIT(" %s %llu", sctx->path_list[path_nr].dmdev->name, in switch_status()
506 (unsigned long long)sctx->path_list[path_nr].start); in switch_status()
527 *bdev = sctx->path_list[path_nr].dmdev->bdev; in switch_prepare_ioctl()
532 if (ti->len + sctx->path_list[path_nr].start != in switch_prepare_ioctl()
546 r = fn(ti, sctx->path_list[path_nr].dmdev, in switch_iterate_devices()
547 sctx->path_list[path_nr].start, ti->len, data); in switch_iterate_devices()