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()1308 u32 stripe_index; in get_raid56_logic_offset() local1319 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()1320 if (stripe_index == num) in get_raid56_logic_offset()1322 if (stripe_index < num) in get_raid56_logic_offset()1880 int stripe_index; in scrub_raid56_parity_stripe() local1887 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()1888 physical = map->stripes[stripe_index].physical + in scrub_raid56_parity_stripe()[all …]
5989 u32 stripe_index; in btrfs_map_discard() local6034 stripe_index = 0; in btrfs_map_discard()6045 stripe_index = stripe_nr % factor; in btrfs_map_discard()6047 stripe_index *= sub_stripes; in btrfs_map_discard()6056 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()6068 map->stripes[stripe_index].physical + in btrfs_map_discard()6070 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()6090 if (stripe_index >= last_stripe && in btrfs_map_discard()6091 stripe_index <= (last_stripe + in btrfs_map_discard()6101 stripe_index++; in btrfs_map_discard()[all …]