Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/efi/
Dvars.c333 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() argument
340 strsize1 = ucs2_strsize(variable_name, 1024); in variable_is_present()
344 !memcmp(variable_name, &(entry->var.VariableName), in variable_is_present()
360 static unsigned long var_name_strnsize(efi_char16_t *variable_name, in var_name_strnsize() argument
372 c = variable_name[(len / sizeof(c)) - 1]; in var_name_strnsize()
419 efi_char16_t *variable_name; in efivar_init() local
429 variable_name = kzalloc(variable_name_size, GFP_KERNEL); in efivar_init()
430 if (!variable_name) { in efivar_init()
449 variable_name, in efivar_init()
456 variable_name_size = var_name_strnsize(variable_name, in efivar_init()
[all …]
Defivars.c496 efi_char16_t *variable_name = new_var->var.VariableName; in efivar_create_sysfs_entry() local
503 utf8_name_size = ucs2_utf8size(variable_name); in efivar_create_sysfs_entry()
510 ucs2_as_utf8(short_name, variable_name, short_name_size); in efivar_create_sysfs_entry()
/kernel/linux/linux-5.10/drivers/firmware/efi/test/
Defi_test.h15 efi_char16_t *variable_name; member
24 efi_char16_t *variable_name; member
34 efi_char16_t *variable_name; member
Defi_test.c166 if (getvariable.variable_name) { in efi_runtime_get_variable()
167 rv = copy_ucs2_from_user(&name, getvariable.variable_name); in efi_runtime_get_variable()
247 if (setvariable.variable_name) { in efi_runtime_set_variable()
248 rv = copy_ucs2_from_user(&name, setvariable.variable_name); in efi_runtime_set_variable()
435 if (getnextvariablename.variable_name) { in efi_runtime_get_nextvariablename()
439 getnextvariablename.variable_name, in efi_runtime_get_nextvariablename()
452 getnextvariablename.variable_name, in efi_runtime_get_nextvariablename()
479 if (copy_ucs2_to_user_len(getnextvariablename.variable_name, in efi_runtime_get_nextvariablename()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-secvar25 <variable_name>. The variable name is unique and is in ASCII
29 What: /sys/firmware/secvar/vars/<variable_name>/size
35 What: /sys/firmware/secvar/vars/<variable_name>/data
41 What: /sys/firmware/secvar/vars/<variable_name>/update