Lines Matching refs:data_stripes
5043 int data_stripes; in decide_stripe_size_regular() local
5057 data_stripes = (ctl->num_stripes - ctl->nparity) / ctl->ncopies; in decide_stripe_size_regular()
5065 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular()
5072 data_stripes), SZ_16M), in decide_stripe_size_regular()
5078 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular()
5986 int data_stripes; in btrfs_get_io_geometry() local
6014 data_stripes = nr_data_stripes(map); in btrfs_get_io_geometry()
6023 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()
6040 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()
6074 int data_stripes; in __btrfs_map_block() local
6105 data_stripes = nr_data_stripes(map); in __btrfs_map_block()
6179 stripe_len * data_stripes); in __btrfs_map_block()
6195 data_stripes, &stripe_index); in __btrfs_map_block()
6197 stripe_index = data_stripes + mirror_num - 2; in __btrfs_map_block()
6255 tmp = stripe_nr * data_stripes; in __btrfs_map_block()
6256 for (i = 0; i < data_stripes; i++) in __btrfs_map_block()
6634 int data_stripes; in calc_stripe_length() local
6637 data_stripes = num_stripes - nparity; in calc_stripe_length()
6639 data_stripes = num_stripes / ncopies; in calc_stripe_length()
6641 return div_u64(chunk_len, data_stripes); in calc_stripe_length()