Searched refs:ndisks (Results 1 – 1 of 1) sorted by relevance
2552 struct disk_info *ndisks; in resize_stripes() local2630 ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); in resize_stripes()2631 if (ndisks) { in resize_stripes()2633 ndisks[i] = conf->disks[i]; in resize_stripes()2636 ndisks[i].extra_page = alloc_page(GFP_NOIO); in resize_stripes()2637 if (!ndisks[i].extra_page) in resize_stripes()2643 if (ndisks[i].extra_page) in resize_stripes()2644 put_page(ndisks[i].extra_page); in resize_stripes()2645 kfree(ndisks); in resize_stripes()2648 conf->disks = ndisks; in resize_stripes()