Searched refs:ndisks (Results 1 – 1 of 1) sorted by relevance
2559 struct disk_info *ndisks; in resize_stripes() local2637 ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); in resize_stripes()2638 if (ndisks) { in resize_stripes()2640 ndisks[i] = conf->disks[i]; in resize_stripes()2643 ndisks[i].extra_page = alloc_page(GFP_NOIO); in resize_stripes()2644 if (!ndisks[i].extra_page) in resize_stripes()2650 if (ndisks[i].extra_page) in resize_stripes()2651 put_page(ndisks[i].extra_page); in resize_stripes()2652 kfree(ndisks); in resize_stripes()2655 conf->disks = ndisks; in resize_stripes()