Searched refs:stripe_index (Results 1 – 3 of 3) sorted by relevance
5298 u32 stripe_index; in __btrfs_map_block_for_discard() local5345 stripe_index = 0; in __btrfs_map_block_for_discard()5356 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()5357 stripe_index *= sub_stripes; in __btrfs_map_block_for_discard()5367 &stripe_index); in __btrfs_map_block_for_discard()5378 map->stripes[stripe_index].physical + in __btrfs_map_block_for_discard()5380 bbio->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block_for_discard()5403 if (stripe_index >= last_stripe && in __btrfs_map_block_for_discard()5404 stripe_index <= (last_stripe + in __btrfs_map_block_for_discard()5415 stripe_index++; in __btrfs_map_block_for_discard()[all …]
1224 int *stripe_index, in scrub_stripe_index_and_offset() argument1241 *stripe_index = i; in scrub_stripe_index_and_offset()1245 *stripe_index = mirror; in scrub_stripe_index_and_offset()1265 int stripe_index; in scrub_setup_recheck_block() local1346 &stripe_index, in scrub_setup_recheck_block()1348 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block()1350 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block()2650 u32 stripe_index; in get_raid56_logic_offset() local2669 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()2670 if (stripe_index == num) in get_raid56_logic_offset()[all …]
267 unsigned int stripe_index; member