Searched refs:array_sectors (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/md/ |
D | linear.c | 114 sector_t array_sectors; in linear_size() local 120 array_sectors = conf->array_sectors; in linear_size() 123 return array_sectors; in linear_size() 138 conf->array_sectors = 0; in linear_conf() 170 conf->array_sectors += rdev->sectors; in linear_conf() 248 set_capacity(mddev->gendisk, mddev->array_sectors); in linear_add()
|
D | linear.h | 13 sector_t array_sectors; member
|
D | raid0.c | 323 sector_t array_sectors = 0; in raid0_size() local 330 array_sectors += rdev->sectors; in raid0_size() 332 return array_sectors; in raid0_size() 363 (unsigned long long)mddev->array_sectors); in raid0_run()
|
D | md.h | 160 sector_t array_sectors; /* exported array size */ member 495 extern void md_set_array_sectors(mddev_t *mddev, sector_t array_sectors);
|
D | md.c | 4129 (unsigned long long)mddev->array_sectors/2); in array_size_show() 4143 sectors = mddev->array_sectors; in array_size_store() 4155 mddev->array_sectors = sectors; in array_size_store() 4157 set_capacity(mddev->gendisk, mddev->array_sectors); in array_size_store() 4560 else if (mddev->pers->size(mddev, 0, 0) < mddev->array_sectors) { in md_run() 4565 (unsigned long long)mddev->array_sectors / 2, in md_run() 4640 set_capacity(mddev->gendisk, mddev->array_sectors); in do_md_run() 4700 mddev->array_sectors = 0; in md_clean() 5539 void md_set_array_sectors(mddev_t *mddev, sector_t array_sectors) in md_set_array_sectors() argument 5546 mddev->array_sectors = array_sectors; in md_set_array_sectors() [all …]
|
D | raid5.c | 5389 if (mddev->array_sectors > in raid5_resize() 5392 set_capacity(mddev->gendisk, mddev->array_sectors); in raid5_resize() 5488 < mddev->array_sectors) { in raid5_start_reshape() 5613 set_capacity(mddev->gendisk, mddev->array_sectors); in raid5_finish_reshape() 5718 while (chunksect && (mddev->array_sectors & (chunksect-1))) in raid5_takeover_raid1() 5783 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape() 5817 if (mddev->array_sectors & (new_chunk-1)) in raid6_check_reshape()
|
D | raid1.c | 2061 if (mddev->array_sectors > raid1_size(mddev, sectors, 0)) in raid1_resize() 2063 set_capacity(mddev->gendisk, mddev->array_sectors); in raid1_resize()
|