Searched refs:stripe_index (Results 1 – 3 of 3) sorted by relevance
5600 u32 stripe_index; in __btrfs_map_block_for_discard() local5647 stripe_index = 0; in __btrfs_map_block_for_discard()5658 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()5659 stripe_index *= sub_stripes; in __btrfs_map_block_for_discard()5669 &stripe_index); in __btrfs_map_block_for_discard()5680 map->stripes[stripe_index].physical + in __btrfs_map_block_for_discard()5682 bbio->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block_for_discard()5705 if (stripe_index >= last_stripe && in __btrfs_map_block_for_discard()5706 stripe_index <= (last_stripe + in __btrfs_map_block_for_discard()5717 stripe_index++; in __btrfs_map_block_for_discard()[all …]
1240 int *stripe_index, in scrub_stripe_index_and_offset() argument1257 *stripe_index = i; in scrub_stripe_index_and_offset()1261 *stripe_index = mirror; in scrub_stripe_index_and_offset()1281 int stripe_index; in scrub_setup_recheck_block() local1362 &stripe_index, in scrub_setup_recheck_block()1364 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()1366 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()2674 u32 stripe_index; in get_raid56_logic_offset() local2693 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()2694 if (stripe_index == num) in get_raid56_logic_offset()[all …]
295 unsigned int stripe_index; member