Searched refs:data_stripes (Results 1 – 2 of 2) sorted by relevance
5078 int data_stripes; in decide_stripe_size_regular() local5092 data_stripes = (ctl->num_stripes - ctl->nparity) / ctl->ncopies; in decide_stripe_size_regular()5100 if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) { in decide_stripe_size_regular()5107 data_stripes), SZ_16M), in decide_stripe_size_regular()5113 ctl->chunk_size = ctl->stripe_size * data_stripes; in decide_stripe_size_regular()6021 int data_stripes; in btrfs_get_io_geometry() local6049 data_stripes = nr_data_stripes(map); in btrfs_get_io_geometry()6058 unsigned long full_stripe_len = stripe_len * data_stripes; in btrfs_get_io_geometry()6075 max_len = stripe_len * data_stripes - in btrfs_get_io_geometry()6109 int data_stripes; in __btrfs_map_block() local[all …]
2605 const int data_stripes = nr_data_stripes(map); in get_raid56_logic_offset() local2607 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()2612 for (i = 0; i < data_stripes; i++) { in get_raid56_logic_offset()2616 stripe_nr = div_u64(stripe_nr, data_stripes); in get_raid56_logic_offset()