Searched refs:array_sectors (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | md-linear.c | 52 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()
|
D | md-linear.h | 13 sector_t array_sectors; member
|
D | dm-raid.c | 246 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 …]
|
D | raid0.c | 343 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()
|
D | md.h | 347 sector_t array_sectors; /* exported array size */ member 763 extern void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors);
|
D | md.c | 5283 (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 …]
|
D | md-cluster.c | 584 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()
|
D | raid10.c | 4344 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()
|
D | raid5.c | 8372 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()
|
D | raid1.c | 3226 mddev->array_sectors > newsize) in raid1_resize()
|
/linux-6.1.9/Documentation/driver-api/md/ |
D | md-cluster.rst | 385 - change array_sectors.
|