Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid5.c2552 struct disk_info *ndisks; in resize_stripes() local
2630 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()