Searched refs:efivars (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/drivers/firmware/efi/ |
H A D | vars.c | 2 * Originally from efivars.c 37 /* Private pointer to registered efivars */ 38 static struct efivars *__efivars; 425 printk(KERN_WARNING "efivars: duplicate variable: %s-%pUl\n", dup_variable_bug() 456 printk(KERN_ERR "efivars: Memory allocation failed.\n"); efivar_init() 511 printk(KERN_WARNING "efivars: get_next_variable: status=%lx\n", efivar_init() 559 * called with the efivars lock already held, and we release it before 941 * set_variable call, and removal of the variable from the efivars efivar_entry_set_get_size() 1103 * efivars_kobject - get the kobject for the registered efivars 1128 * efivars_register - register an efivars 1129 * @efivars: efivars to register 1130 * @ops: efivars operations 1131 * @kobject: @efivars-specific kobject 1133 * Only a single efivars can be registered at any time. 1135 int efivars_register(struct efivars *efivars, efivars_register() argument 1139 spin_lock_init(&efivars->lock); efivars_register() 1140 efivars->ops = ops; efivars_register() 1141 efivars->kobject = kobject; efivars_register() 1143 __efivars = efivars; efivars_register() 1150 * efivars_unregister - unregister an efivars 1151 * @efivars: efivars to unregister 1156 int efivars_unregister(struct efivars *efivars) efivars_unregister() argument 1161 printk(KERN_ERR "efivars not registered\n"); efivars_unregister() 1166 if (__efivars != efivars) { efivars_unregister()
|
H A D | efi.c | 8 * This code registers /sys/firmware/efi{,/efivars} when EFI is supported, 9 * allowing the efivarfs to be mounted or the efivars module to be loaded. 76 * the efivars driver 166 static struct efivars generic_efivars; 186 * efivars subsystem with the efi subsystem, if the system was booted with 219 error = sysfs_create_mount_point(efi_kobj, "efivars"); efisubsys_init() 221 pr_err("efivars: Subsystem registration failed.\n"); efisubsys_init() 377 pdev = platform_device_register_simple("efivars", 0, NULL, 0); efi_load_efivars()
|
H A D | efivars.c | 2 * Originally from efivars.c, 56 * to efi.c, and now efivars lives under /proc/efi/vars. 81 MODULE_ALIAS("platform:efivars"); 214 printk(KERN_ERR "efivars: Cannot edit the wrong variable!\n"); sanity_check() 219 printk(KERN_ERR "efivars: DataSize & Attributes must be valid!\n"); sanity_check() 225 printk(KERN_ERR "efivars: Malformed variable content\n"); sanity_check() 305 printk(KERN_WARNING "efivars: set_variable() failed: status=%d\n", err); efivar_store_raw() 452 printk(KERN_ERR "efivars: Malformed variable content\n"); efivar_create() 474 printk(KERN_WARNING "efivars: failed to create sysfs entry.\n"); efivar_create() 616 printk(KERN_ERR "efivars: unable to create new_var sysfs file" create_efivars_bin_attributes() 623 printk(KERN_ERR "efivars: unable to create del_var sysfs file" create_efivars_bin_attributes() 720 /* No efivars has been registered yet */ efivars_sysfs_init() 729 printk(KERN_ERR "efivars: Subsystem registration failed.\n"); efivars_sysfs_init()
|
/linux-4.1.27/tools/testing/selftests/efivarfs/ |
H A D | efivarfs.sh | 3 efivarfs_mount=/sys/firmware/efi/efivars
|
/linux-4.1.27/drivers/firmware/google/ |
H A D | gsmi.c | 765 static struct efivars efivars; variable in typeref:struct:efivars 889 ret = efivars_register(&efivars, &efivar_ops, gsmi_kobj); gsmi_init() 891 printk(KERN_INFO "gsmi: Failed to register efivars\n"); gsmi_init() 926 efivars_unregister(&efivars); gsmi_exit()
|
/linux-4.1.27/include/linux/ |
H A D | efi.h | 1061 struct efivars { struct 1125 int efivars_register(struct efivars *efivars, 1128 int efivars_unregister(struct efivars *efivars);
|
/linux-4.1.27/fs/pstore/ |
H A D | platform.c | 203 /* buffer range for efivars */ allocate_buf_for_compression()
|
Completed in 418 milliseconds