Home
last modified time | relevance | path

Searched refs:data_stripes (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/fs/btrfs/
Dvolumes.c4917 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
[all …]
Dscrub.c2676 const int data_stripes = nr_data_stripes(map); in get_raid56_logic_offset() local
2678 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2683 for (i = 0; i < data_stripes; i++) { in get_raid56_logic_offset()
2687 stripe_nr = div_u64(stripe_nr, data_stripes); in get_raid56_logic_offset()
/Linux-v5.4/drivers/md/
Ddm-raid.c1621 unsigned int data_stripes; in rs_set_dev_and_array_sectors() local
1628 data_stripes = mddev_data_stripes(rs); in rs_set_dev_and_array_sectors()
1631 data_stripes = rs_data_stripes(rs); in rs_set_dev_and_array_sectors()
1645 if (sector_div(dev_sectors, data_stripes)) in rs_set_dev_and_array_sectors()
1648 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()
1652 } else if (sector_div(dev_sectors, data_stripes)) in rs_set_dev_and_array_sectors()
1657 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()