Lines Matching refs:newsize
2531 static int resize_stripes(struct r5conf *conf, int newsize) in resize_stripes() argument
2568 struct_size_t(struct stripe_head, dev, newsize), in resize_stripes()
2577 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes()
2636 ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); in resize_stripes()
2641 for (i = conf->pool_size; i < newsize; i++) { in resize_stripes()
2648 for (i = conf->pool_size; i < newsize; i++) in resize_stripes()
2676 for (i = conf->raid_disks; i < newsize; i++) { in resize_stripes()
2684 for (i=conf->raid_disks; i < newsize; i++) in resize_stripes()
2699 conf->pool_size = newsize; in resize_stripes()
8403 sector_t newsize; in raid5_resize() local
8409 newsize = raid5_size(mddev, sectors, mddev->raid_disks); in raid5_resize()
8411 mddev->array_sectors > newsize) in raid5_resize()
8418 md_set_array_sectors(mddev, newsize); in raid5_resize()