Searched refs:stripe_index (Results 1 – 5 of 5) sorted by relevance
1007 int stripe_index = stripe->mirror_num - 1; in scrub_stripe_report_errors() local1021 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()1022 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()1416 u32 stripe_index; in get_raid56_logic_offset() local1427 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()1428 if (stripe_index == num) in get_raid56_logic_offset()1430 if (stripe_index < num) in get_raid56_logic_offset()2171 int stripe_index; in scrub_raid56_parity_stripe() local2178 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()2179 physical = map->stripes[stripe_index].physical + in scrub_raid56_parity_stripe()[all …]
28 u32 stripe_index, struct btrfs_io_stripe *stripe);
43 u32 stripe_index; member 6773 u32 stripe_index; in btrfs_map_discard() 6830 * device we have to walk to find the data, and stripe_index is in btrfs_map_discard() 6834 stripe_index = 0; in btrfs_map_discard() 6845 stripe_index = stripe_nr % factor; in btrfs_map_discard() 6847 stripe_index *= sub_stripes; in btrfs_map_discard() 6856 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard() 6868 map->stripes[stripe_index].physical + in btrfs_map_discard() 6870 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard() 6890 if (stripe_index > in is_block_group_to_copy() 6740 u32 stripe_index; btrfs_map_discard() local 7393 u32 stripe_index; btrfs_map_block() local [all...]
407 u32 stripe_index, struct btrfs_io_stripe *stripe) in btrfs_get_raid_extent_offset() argument494 if ((map_type & BTRFS_BLOCK_GROUP_DUP) && stripe_index != i) in btrfs_get_raid_extent_offset()
1590 u32 stripe_index = 0; in btrfs_load_block_group_raid0() local 1633 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in btrfs_load_block_group_raid0() 1644 if (stripe_index > i) in btrfs_load_block_group_raid0() 1646 else if (stripe_index == i) in btrfs_load_block_group_raid0() 1708 u32 stripe_index = 0; in btrfs_load_block_group_raid10() local 1776 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in btrfs_load_block_group_raid10() 1786 if (stripe_index > idx) in btrfs_load_block_group_raid10() 1788 else if (stripe_index == idx) in btrfs_load_block_group_raid10()