Home
last modified time | relevance | path

Searched refs:ndisks (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid5.c2555 struct disk_info *ndisks; in resize_stripes() local
2633 ndisks = kcalloc(newsize, sizeof(struct disk_info), GFP_NOIO); in resize_stripes()
2634 if (ndisks) { in resize_stripes()
2636 ndisks[i] = conf->disks[i]; in resize_stripes()
2639 ndisks[i].extra_page = alloc_page(GFP_NOIO); in resize_stripes()
2640 if (!ndisks[i].extra_page) in resize_stripes()
2646 if (ndisks[i].extra_page) in resize_stripes()
2647 put_page(ndisks[i].extra_page); in resize_stripes()
2648 kfree(ndisks); in resize_stripes()
2651 conf->disks = ndisks; in resize_stripes()