Searched refs:rot (Results 1 – 2 of 2) sorted by relevance
2746 u32 rot; in get_raid56_logic_offset() local2761 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); in get_raid56_logic_offset()2763 rot += i; in get_raid56_logic_offset()2764 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
6600 unsigned rot; in __btrfs_map_block() local6603 div_u64_rem(stripe_nr, num_stripes, &rot); in __btrfs_map_block()6608 bioc->raid_map[(i + rot) % num_stripes] = in __btrfs_map_block()6611 bioc->raid_map[(i + rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block()6613 bioc->raid_map[(i + rot + 1) % num_stripes] = in __btrfs_map_block()