Home
last modified time | relevance | path

Searched refs:stripe_index (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dvolumes.c5653 u32 stripe_index; in __btrfs_map_block_for_discard() local
5701 stripe_index = 0; in __btrfs_map_block_for_discard()
5712 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()
5713 stripe_index *= sub_stripes; in __btrfs_map_block_for_discard()
5723 &stripe_index); in __btrfs_map_block_for_discard()
5734 map->stripes[stripe_index].physical + in __btrfs_map_block_for_discard()
5736 bbio->stripes[i].dev = map->stripes[stripe_index].dev; in __btrfs_map_block_for_discard()
5759 if (stripe_index >= last_stripe && in __btrfs_map_block_for_discard()
5760 stripe_index <= (last_stripe + in __btrfs_map_block_for_discard()
5771 stripe_index++; in __btrfs_map_block_for_discard()
[all …]
H A Dscrub.c1239 int *stripe_index, in scrub_stripe_index_and_offset() argument
1256 *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() local
1361 &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() local
2622 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
2623 if (stripe_index == num) in get_raid56_logic_offset()
[all …]