Searched refs:efi_pstore_info (Results 1 – 1 of 1) sorted by relevance
245 static struct pstore_info efi_pstore_info = { variable273 efi_pstore_info.buf = kmalloc(record_size, GFP_KERNEL); in efivars_pstore_init()274 if (!efi_pstore_info.buf) in efivars_pstore_init()277 efi_pstore_info.bufsize = record_size; in efivars_pstore_init()279 if (pstore_register(&efi_pstore_info)) { in efivars_pstore_init()280 kfree(efi_pstore_info.buf); in efivars_pstore_init()281 efi_pstore_info.buf = NULL; in efivars_pstore_init()282 efi_pstore_info.bufsize = 0; in efivars_pstore_init()290 if (!efi_pstore_info.bufsize) in efivars_pstore_exit()293 pstore_unregister(&efi_pstore_info); in efivars_pstore_exit()[all …]