Lines Matching refs:smap
6257 struct btrfs_io_stripe *smap, int *mirror_num_ret, in btrfs_map_block() argument
6427 if (smap && num_alloc_stripes == 1 && in btrfs_map_block()
6429 set_io_stripe(smap, map, stripe_index, stripe_offset, stripe_nr); in btrfs_map_block()
8034 struct btrfs_io_stripe *smap, in map_raid56_repair_block() argument
8049 smap->dev = bioc->stripes[i].dev; in map_raid56_repair_block()
8050 smap->physical = bioc->stripes[i].physical + in map_raid56_repair_block()
8069 struct btrfs_io_stripe *smap, u64 logical, in btrfs_map_repair_block() argument
8080 &bioc, smap, &mirror_ret, true); in btrfs_map_repair_block()
8093 map_raid56_repair_block(bioc, smap, logical); in btrfs_map_repair_block()
8098 smap->dev = bioc->stripes[mirror_num - 1].dev; in btrfs_map_repair_block()
8099 smap->physical = bioc->stripes[mirror_num - 1].physical; in btrfs_map_repair_block()
8102 ASSERT(smap->dev); in btrfs_map_repair_block()