Searched refs:stripe_index (Results 1 – 2 of 2) sorted by relevance
1418 int *stripe_index, in scrub_stripe_index_and_offset() argument1435 *stripe_index = i; in scrub_stripe_index_and_offset()1439 *stripe_index = mirror; in scrub_stripe_index_and_offset()1459 int stripe_index; in scrub_setup_recheck_block() local1528 &stripe_index, in scrub_setup_recheck_block()1536 bioc->stripes[stripe_index].physical + in scrub_setup_recheck_block()1538 sblock->dev = bioc->stripes[stripe_index].dev; in scrub_setup_recheck_block()2865 u32 stripe_index; in get_raid56_logic_offset() local2884 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()2885 if (stripe_index == num) in get_raid56_logic_offset()[all …]
5964 u32 stripe_index; in btrfs_map_discard() local6010 stripe_index = 0; in btrfs_map_discard()6021 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in btrfs_map_discard()6022 stripe_index *= sub_stripes; in btrfs_map_discard()6032 &stripe_index); in btrfs_map_discard()6043 map->stripes[stripe_index].physical + in btrfs_map_discard()6045 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()6065 if (stripe_index >= last_stripe && in btrfs_map_discard()6066 stripe_index <= (last_stripe + in btrfs_map_discard()6076 stripe_index++; in btrfs_map_discard()[all …]