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()
525 bdev = sctx->path_list[path_nr].dmdev->bdev; in switch_ioctl()
526 mode = sctx->path_list[path_nr].dmdev->mode; in switch_ioctl()
531 if (ti->len + sctx->path_list[path_nr].start != i_size_read(bdev->bd_inode) >> SECTOR_SHIFT) in switch_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()