Searched refs:stripe_index (Results 1 – 3 of 3) sorted by relevance
892 int stripe_index = stripe->mirror_num - 1; in scrub_stripe_report_errors() local906 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()907 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()1307 u32 stripe_index; in get_raid56_logic_offset() local1318 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()1319 if (stripe_index == num) in get_raid56_logic_offset()1321 if (stripe_index < num) in get_raid56_logic_offset()1980 int stripe_index; in scrub_raid56_parity_stripe() local1987 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()1988 physical = map->stripes[stripe_index].physical + in scrub_raid56_parity_stripe()[all …]
43 u32 stripe_index; member6172 u32 stripe_index; in btrfs_map_discard() local6215 stripe_index = 0; in btrfs_map_discard()6226 stripe_index = stripe_nr % factor; in btrfs_map_discard()6228 stripe_index *= sub_stripes; in btrfs_map_discard()6237 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()6249 map->stripes[stripe_index].physical + in btrfs_map_discard()6251 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()6271 if (stripe_index >= last_stripe && in btrfs_map_discard()6272 stripe_index <= (last_stripe + in btrfs_map_discard()[all …]
370 u32 stripe_index, struct btrfs_io_stripe *stripe) in btrfs_get_raid_extent_offset() argument451 if ((map_type & BTRFS_BLOCK_GROUP_DUP) && stripe_index != i) in btrfs_get_raid_extent_offset()