Home
last modified time | relevance | path

Searched refs:array_sectors (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/md/
Dmd-linear.c52 sector_t array_sectors; in linear_size() local
57 array_sectors = conf->array_sectors; in linear_size()
59 return array_sectors; in linear_size()
73 conf->array_sectors = 0; in linear_conf()
96 conf->array_sectors += rdev->sectors; in linear_conf()
194 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in linear_add()
Dmd-linear.h13 sector_t array_sectors; member
Ddm-raid.c246 sector_t array_sectors; member
703 set_capacity_and_notify(gendisk, rs->md.array_sectors); in rs_set_capacity()
1627 sector_t array_sectors = sectors, dev_sectors = sectors; in rs_set_dev_and_array_sectors() local
1652 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()
1653 if (sector_div(array_sectors, rs->raid10_copies)) in rs_set_dev_and_array_sectors()
1661 array_sectors = (data_stripes + delta_disks) * dev_sectors; in rs_set_dev_and_array_sectors()
1663 mddev->array_sectors = array_sectors; in rs_set_dev_and_array_sectors()
1977 __le64 array_sectors; /* Array size in sectors */ member
2147 sb->array_sectors = cpu_to_le64(mddev->array_sectors); in super_sync()
2245 mddev->array_sectors = le64_to_cpu(sb->array_sectors); in super_init_validation()
[all …]
Draid0.c343 sector_t array_sectors = 0; in raid0_size() local
350 array_sectors += (rdev->sectors & in raid0_size()
353 return array_sectors; in raid0_size()
417 (unsigned long long)mddev->array_sectors); in raid0_run()
695 while (chunksect && (mddev->array_sectors & (chunksect - 1))) in raid0_takeover_raid1()
Dmd.h347 sector_t array_sectors; /* exported array size */ member
763 extern void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors);
Dmd.c5283 (unsigned long long)mddev->array_sectors/2); in array_size_show()
5308 sectors = mddev->array_sectors; in array_size_store()
5321 mddev->array_sectors = sectors; in array_size_store()
5324 mddev->array_sectors); in array_size_store()
5931 else if (pers->size(mddev, 0, 0) < mddev->array_sectors) { in md_run()
5936 (unsigned long long)mddev->array_sectors / 2, in md_run()
6074 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in do_md_run()
6145 mddev->array_sectors = 0; in md_clean()
7180 void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors) in md_set_array_sectors() argument
7187 mddev->array_sectors = array_sectors; in md_set_array_sectors()
[all …]
Dmd-cluster.c584 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in process_recvd_msg()
1306 set_capacity_and_notify(mddev->gendisk, mddev->array_sectors); in update_size()
Draid10.c4344 mddev->array_sectors > size) in raid10_resize()
4450 if (mddev->array_sectors & geo.chunk_mask) in raid10_check_reshape()
4598 if (size < mddev->array_sectors) { in raid10_start_reshape()
5226 mddev->resync_max_sectors = mddev->array_sectors; in raid10_finish_reshape()
Draid5.c8372 mddev->array_sectors > newsize) in raid5_resize()
8491 < mddev->array_sectors) { in raid5_start_reshape()
8735 while (chunksect && (mddev->array_sectors & (chunksect-1))) in raid5_takeover_raid1()
8803 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
8837 if (mddev->array_sectors & (new_chunk-1)) in raid6_check_reshape()
Draid1.c3226 mddev->array_sectors > newsize) in raid1_resize()
/linux-6.1.9/Documentation/driver-api/md/
Dmd-cluster.rst385 - change array_sectors.