Home
last modified time | relevance | path

Searched refs:efi_pstore_info (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/firmware/efi/
H A Defi-pstore.c210 static struct pstore_info efi_pstore_info = { variable
238 efi_pstore_info.buf = kmalloc(record_size, GFP_KERNEL); in efivars_pstore_init()
239 if (!efi_pstore_info.buf) in efivars_pstore_init()
242 efi_pstore_info.bufsize = record_size; in efivars_pstore_init()
244 if (pstore_register(&efi_pstore_info)) { in efivars_pstore_init()
245 kfree(efi_pstore_info.buf); in efivars_pstore_init()
246 efi_pstore_info.buf = NULL; in efivars_pstore_init()
247 efi_pstore_info.bufsize = 0; in efivars_pstore_init()
255 if (!efi_pstore_info.bufsize) in efivars_pstore_exit()
258 pstore_unregister(&efi_pstore_info); in efivars_pstore_exit()
[all...]
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Defi-pstore.c352 static struct pstore_info efi_pstore_info = { variable
434 efi_pstore_info.buf = kmalloc(4096, GFP_KERNEL); in efivars_pstore_init()
435 if (!efi_pstore_info.buf) in efivars_pstore_init()
438 efi_pstore_info.bufsize = 1024; in efivars_pstore_init()
440 if (pstore_register(&efi_pstore_info)) { in efivars_pstore_init()
441 kfree(efi_pstore_info.buf); in efivars_pstore_init()
442 efi_pstore_info.buf = NULL; in efivars_pstore_init()
443 efi_pstore_info.bufsize = 0; in efivars_pstore_init()
453 if (!efi_pstore_info.bufsize) in efivars_pstore_exit()
456 pstore_unregister(&efi_pstore_info); in efivars_pstore_exit()
[all...]

Completed in 2 milliseconds