Searched refs:data_stripes (Results 1 – 3 of 3) sorted by relevance
5043 int data_stripes; in decide_stripe_size_regular() local5057 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() local6014 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[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()
1627 unsigned int data_stripes; in rs_set_dev_and_array_sectors() local1633 data_stripes = mddev_data_stripes(rs); in rs_set_dev_and_array_sectors()1636 data_stripes = rs_data_stripes(rs); in rs_set_dev_and_array_sectors()1650 if (sector_div(dev_sectors, data_stripes)) in rs_set_dev_and_array_sectors()1653 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()1657 } else if (sector_div(dev_sectors, data_stripes)) in rs_set_dev_and_array_sectors()1662 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()