Searched refs:stripe_index (Results 1 – 2 of 2) sorted by relevance
5592 u32 stripe_index; in __btrfs_map_block_for_discard() local5640 stripe_index = 0; in __btrfs_map_block_for_discard()5651 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()5652 stripe_index *= sub_stripes; in __btrfs_map_block_for_discard()5662 &stripe_index); in __btrfs_map_block_for_discard()5673 map->stripes[stripe_index].physical + in __btrfs_map_block_for_discard()5675 bbio->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block_for_discard()5698 if (stripe_index >= last_stripe && in __btrfs_map_block_for_discard()5699 stripe_index <= (last_stripe + in __btrfs_map_block_for_discard()5710 stripe_index++; in __btrfs_map_block_for_discard()[all …]
1239 int *stripe_index, in scrub_stripe_index_and_offset() argument1256 *stripe_index = i; in scrub_stripe_index_and_offset()1260 *stripe_index = mirror; in scrub_stripe_index_and_offset()1280 int stripe_index; in scrub_setup_recheck_block() local1361 &stripe_index, in scrub_setup_recheck_block()1363 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()1365 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()2603 u32 stripe_index; in get_raid56_logic_offset() local2622 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()2623 if (stripe_index == num) in get_raid56_logic_offset()[all …]