Lines Matching refs:stripe_nr
5326 u64 stripe_nr; in __btrfs_map_block_for_discard() local
5364 stripe_nr = div64_u64(offset, stripe_len); in __btrfs_map_block_for_discard()
5367 stripe_offset = offset - stripe_nr * stripe_len; in __btrfs_map_block_for_discard()
5371 stripe_cnt = stripe_nr_end - stripe_nr; in __btrfs_map_block_for_discard()
5391 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block_for_discard()
5401 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in __btrfs_map_block_for_discard()
5414 stripe_offset + stripe_nr * map->stripe_len; in __btrfs_map_block_for_discard()
5453 stripe_nr++; in __btrfs_map_block_for_discard()
5651 u64 stripe_nr; in __btrfs_map_block() local
5679 stripe_nr = offset; in __btrfs_map_block()
5684 stripe_nr = div64_u64(stripe_nr, stripe_len); in __btrfs_map_block()
5686 stripe_offset = stripe_nr * stripe_len; in __btrfs_map_block()
5759 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in __btrfs_map_block()
5786 stripe_nr = div_u64_rem(stripe_nr, factor, &stripe_index); in __btrfs_map_block()
5804 stripe_nr = div64_u64(raid56_full_stripe_start, in __btrfs_map_block()
5820 stripe_nr = div_u64_rem(stripe_nr, in __btrfs_map_block()
5827 div_u64_rem(stripe_nr + stripe_index, map->num_stripes, in __btrfs_map_block()
5838 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, in __btrfs_map_block()
5879 div_u64_rem(stripe_nr, num_stripes, &rot); in __btrfs_map_block()
5882 tmp = stripe_nr * nr_data_stripes(map); in __btrfs_map_block()
5898 stripe_nr * map->stripe_len; in __btrfs_map_block()
5966 u64 stripe_nr; in btrfs_rmap_block() local
5995 stripe_nr = physical - map->stripes[i].physical; in btrfs_rmap_block()
5996 stripe_nr = div64_u64(stripe_nr, map->stripe_len); in btrfs_rmap_block()
5999 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
6000 stripe_nr = div_u64(stripe_nr, map->sub_stripes); in btrfs_rmap_block()
6002 stripe_nr = stripe_nr * map->num_stripes + i; in btrfs_rmap_block()
6007 bytenr = chunk_start + stripe_nr * rmap_len; in btrfs_rmap_block()