Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/firmware/efi/
Dvars.c241 unsigned long utf8_size; in efivar_validate() local
244 utf8_size = ucs2_utf8size(var_name); in efivar_validate()
245 utf8_name = kmalloc(utf8_size + 1, GFP_KERNEL); in efivar_validate()
249 ucs2_as_utf8(utf8_name, var_name, utf8_size); in efivar_validate()
250 utf8_name[utf8_size] = '\0'; in efivar_validate()
259 if (variable_matches(utf8_name, utf8_size+1, name, &match)) { in efivar_validate()