Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/firmware/efi/
Defi-pstore.c345 static struct pstore_info efi_pstore_info = { variable
367 efi_pstore_info.buf = kmalloc(4096, GFP_KERNEL); in efivars_pstore_init()
368 if (!efi_pstore_info.buf) in efivars_pstore_init()
371 efi_pstore_info.bufsize = 1024; in efivars_pstore_init()
372 spin_lock_init(&efi_pstore_info.buf_lock); in efivars_pstore_init()
374 if (pstore_register(&efi_pstore_info)) { in efivars_pstore_init()
375 kfree(efi_pstore_info.buf); in efivars_pstore_init()
376 efi_pstore_info.buf = NULL; in efivars_pstore_init()
377 efi_pstore_info.bufsize = 0; in efivars_pstore_init()
385 if (!efi_pstore_info.bufsize) in efivars_pstore_exit()
[all …]