Searched refs:variable_name (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/firmware/efi/ |
H A D | vars.c | 354 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, variable_is_present() argument 361 strsize1 = ucs2_strsize(variable_name, 1024); list_for_each_entry_safe() 365 !memcmp(variable_name, &(entry->var.VariableName), list_for_each_entry_safe() 377 * Returns the size of variable_name, in bytes, including the 381 static unsigned long var_name_strnsize(efi_char16_t *variable_name, var_name_strnsize() argument 393 c = variable_name[(len / sizeof(c)) - 1]; var_name_strnsize() 449 efi_char16_t *variable_name; efivar_init() local 454 variable_name = kzalloc(variable_name_size, GFP_KERNEL); efivar_init() 455 if (!variable_name) { efivar_init() 471 variable_name, efivar_init() 478 variable_name_size = var_name_strnsize(variable_name, efivar_init() 490 variable_is_present(variable_name, &vendor_guid, head)) { efivar_init() 491 dup_variable_bug(variable_name, &vendor_guid, efivar_init() 500 err = func(variable_name, vendor_guid, variable_name_size, data); efivar_init() 521 kfree(variable_name); efivar_init()
|
H A D | efivars.c | 547 efi_char16_t *variable_name = new_var->var.VariableName; efivar_create_sysfs_entry() local 554 utf8_name_size = ucs2_utf8size(variable_name); efivar_create_sysfs_entry() 561 ucs2_as_utf8(short_name, variable_name, short_name_size); efivar_create_sysfs_entry()
|
Completed in 105 milliseconds