Lines Matching refs:data_stripes
4917 int data_stripes; /* number of stripes that count for in __btrfs_alloc_chunk() local
5080 data_stripes = (num_stripes - nparity) / ncopies; in __btrfs_alloc_chunk()
5088 if (stripe_size * data_stripes > max_chunk_size) { in __btrfs_alloc_chunk()
5095 data_stripes), SZ_16M), in __btrfs_alloc_chunk()
5123 chunk_size = stripe_size * data_stripes; in __btrfs_alloc_chunk()
5932 int data_stripes; in btrfs_get_io_geometry() local
5960 data_stripes = nr_data_stripes(map); in btrfs_get_io_geometry()
5969 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()
5986 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()
6020 int data_stripes; in __btrfs_map_block() local
6054 data_stripes = nr_data_stripes(map); in __btrfs_map_block()
6128 stripe_len * data_stripes); in __btrfs_map_block()
6144 data_stripes, &stripe_index); in __btrfs_map_block()
6146 stripe_index = data_stripes + mirror_num - 2; in __btrfs_map_block()
6204 tmp = stripe_nr * data_stripes; in __btrfs_map_block()
6205 for (i = 0; i < data_stripes; i++) in __btrfs_map_block()
6700 int data_stripes; in calc_stripe_length() local
6704 data_stripes = num_stripes - 1; in calc_stripe_length()
6707 data_stripes = num_stripes - 2; in calc_stripe_length()
6710 data_stripes = num_stripes / ncopies; in calc_stripe_length()
6713 return div_u64(chunk_len, data_stripes); in calc_stripe_length()