Searched refs:stripe_index (Results 1 – 2 of 2) sorted by relevance
893 int stripe_index = stripe->mirror_num - 1; in scrub_stripe_report_errors() local907 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()908 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()1298 u32 stripe_index; in get_raid56_logic_offset() local1309 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()1310 if (stripe_index == num) in get_raid56_logic_offset()1312 if (stripe_index < num) in get_raid56_logic_offset()1859 int stripe_index; in scrub_raid56_parity_stripe() local1866 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()1867 physical = map->stripes[stripe_index].physical + in scrub_raid56_parity_stripe()[all …]
5938 u32 stripe_index; in btrfs_map_discard() local5983 stripe_index = 0; in btrfs_map_discard()5994 stripe_index = stripe_nr % factor; in btrfs_map_discard()5996 stripe_index *= sub_stripes; in btrfs_map_discard()6005 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()6017 map->stripes[stripe_index].physical + in btrfs_map_discard()6019 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()6039 if (stripe_index >= last_stripe && in btrfs_map_discard()6040 stripe_index <= (last_stripe + in btrfs_map_discard()6050 stripe_index++; in btrfs_map_discard()[all …]