Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/fs/btrfs/
Dvolumes.c4590 int data_stripes; /* number of stripes that count for in __btrfs_alloc_chunk() local
4753 data_stripes = num_stripes / ncopies; in __btrfs_alloc_chunk()
4756 data_stripes = num_stripes - 1; in __btrfs_alloc_chunk()
4759 data_stripes = num_stripes - 2; in __btrfs_alloc_chunk()
4766 if (stripe_size * data_stripes > max_chunk_size) { in __btrfs_alloc_chunk()
4767 stripe_size = div_u64(max_chunk_size, data_stripes); in __btrfs_alloc_chunk()
4804 num_bytes = stripe_size * data_stripes; in __btrfs_alloc_chunk()
7356 int data_stripes; in calc_stripe_length() local
7360 data_stripes = num_stripes - 1; in calc_stripe_length()
7363 data_stripes = num_stripes - 2; in calc_stripe_length()
[all …]