Lines Matching refs:path_list
56 struct switch_path path_list[]; member
64 sctx = kzalloc(struct_size(sctx, path_list, nr_paths), GFP_KERNEL); in alloc_switch_ctx()
211 &sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
219 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
223 sctx->path_list[sctx->nr_paths].start = start; in parse_path()
238 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in switch_dtr()
325 bio_set_dev(bio, sctx->path_list[path_nr].dmdev->bdev); in switch_map()
326 bio->bi_iter.bi_sector = sctx->path_list[path_nr].start + offset; in switch_map()
504 DMEMIT(" %s %llu", sctx->path_list[path_nr].dmdev->name, in switch_status()
505 (unsigned long long)sctx->path_list[path_nr].start); in switch_status()
526 *bdev = sctx->path_list[path_nr].dmdev->bdev; in switch_prepare_ioctl()
531 if (ti->len + sctx->path_list[path_nr].start != in switch_prepare_ioctl()
545 r = fn(ti, sctx->path_list[path_nr].dmdev, in switch_iterate_devices()
546 sctx->path_list[path_nr].start, ti->len, data); in switch_iterate_devices()