Searched refs:variable_name (Results 1 – 4 of 4) sorted by relevance
/drivers/firmware/efi/ |
D | vars.c | 340 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() argument 347 strsize1 = ucs2_strsize(variable_name, 1024); in variable_is_present() 351 !memcmp(variable_name, &(entry->var.VariableName), in variable_is_present() 367 static unsigned long var_name_strnsize(efi_char16_t *variable_name, in var_name_strnsize() argument 379 c = variable_name[(len / sizeof(c)) - 1]; in var_name_strnsize() 434 efi_char16_t *variable_name; in efivar_init() local 439 variable_name = kzalloc(variable_name_size, GFP_KERNEL); in efivar_init() 440 if (!variable_name) { in efivar_init() 459 variable_name, in efivar_init() 466 variable_name_size = var_name_strnsize(variable_name, in efivar_init() [all …]
|
D | efivars.c | 548 efi_char16_t *variable_name = new_var->var.VariableName; in efivar_create_sysfs_entry() local 555 utf8_name_size = ucs2_utf8size(variable_name); in efivar_create_sysfs_entry() 562 ucs2_as_utf8(short_name, variable_name, short_name_size); in efivar_create_sysfs_entry()
|
/drivers/firmware/efi/test/ |
D | efi_test.h | 14 efi_char16_t *variable_name; member 23 efi_char16_t *variable_name; member 33 efi_char16_t *variable_name; member
|
D | efi_test.c | 182 if (getvariable.variable_name) { in efi_runtime_get_variable() 183 rv = copy_ucs2_from_user(&name, getvariable.variable_name); in efi_runtime_get_variable() 263 if (setvariable.variable_name) { in efi_runtime_set_variable() 264 rv = copy_ucs2_from_user(&name, setvariable.variable_name); in efi_runtime_set_variable() 455 if (getnextvariablename.variable_name) { in efi_runtime_get_nextvariablename() 459 getnextvariablename.variable_name, in efi_runtime_get_nextvariablename() 472 getnextvariablename.variable_name, in efi_runtime_get_nextvariablename() 499 if (copy_ucs2_to_user_len(getnextvariablename.variable_name, in efi_runtime_get_nextvariablename()
|