Lines Matching refs:path_list
56 struct switch_path path_list[0]; member
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->bi_bdev = 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()
503 DMEMIT(" %s %llu", sctx->path_list[path_nr].dmdev->name, in switch_status()
504 (unsigned long long)sctx->path_list[path_nr].start); in switch_status()
522 *bdev = sctx->path_list[path_nr].dmdev->bdev; in switch_prepare_ioctl()
523 *mode = sctx->path_list[path_nr].dmdev->mode; in switch_prepare_ioctl()
528 if (ti->len + sctx->path_list[path_nr].start != in switch_prepare_ioctl()
542 r = fn(ti, sctx->path_list[path_nr].dmdev, in switch_iterate_devices()
543 sctx->path_list[path_nr].start, ti->len, data); in switch_iterate_devices()