Searched refs:stripe_index (Results 1 – 5 of 5) sorted by relevance
1005 int stripe_index = stripe->mirror_num - 1; in scrub_stripe_report_errors() local1019 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors()1020 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors()1410 u32 stripe_index; in get_raid56_logic_offset() local1421 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()1422 if (stripe_index == num) in get_raid56_logic_offset()1424 if (stripe_index < num) in get_raid56_logic_offset()2165 int stripe_index; in scrub_raid56_parity_stripe() local2172 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()2173 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; member6705 u32 stripe_index; in btrfs_map_discard() local6766 stripe_index = 0; in btrfs_map_discard()6777 stripe_index = stripe_nr % factor; in btrfs_map_discard()6779 stripe_index *= sub_stripes; in btrfs_map_discard()6788 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()6800 map->stripes[stripe_index].physical + in btrfs_map_discard()6802 stripes[i].dev = map->stripes[stripe_index].dev; in btrfs_map_discard()6822 if (stripe_index >= last_stripe && in btrfs_map_discard()6823 stripe_index <= (last_stripe + in btrfs_map_discard()[all …]
400 u32 stripe_index, struct btrfs_io_stripe *stripe) in btrfs_get_raid_extent_offset() argument487 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() local1633 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() local1776 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()