Home
last modified time | relevance | path

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

/linux-6.1.9/fs/pstore/
Dram.c482 struct persistent_ram_zone **prz_ar; in ramoops_init_przs() local
527 prz_ar = kcalloc(*cnt, sizeof(**przs), GFP_KERNEL); in ramoops_init_przs()
528 if (!prz_ar) in ramoops_init_przs()
539 prz_ar[i] = persistent_ram_new(*paddr, zone_sz, sig, in ramoops_init_przs()
543 if (IS_ERR(prz_ar[i])) { in ramoops_init_przs()
544 err = PTR_ERR(prz_ar[i]); in ramoops_init_przs()
551 persistent_ram_free(prz_ar[i]); in ramoops_init_przs()
553 kfree(prz_ar); in ramoops_init_przs()
557 prz_ar[i]->type = pstore_name_to_type(name); in ramoops_init_przs()
560 *przs = prz_ar; in ramoops_init_przs()