Searched refs:ucs2_strsize (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/firmware/efi/ |
D | vars.c | 113 desclength = ucs2_strsize((efi_char16_t *)(buffer + 6), len - 6) + 2; in validate_load_option() 344 strsize1 = ucs2_strsize(variable_name, 1024); in variable_is_present() 346 strsize2 = ucs2_strsize(entry->var.VariableName, 1024); in variable_is_present() 680 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set() 717 size + ucs2_strsize(name, 1024)); in efivar_entry_set_nonblocking() 783 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set_safe() 822 strsize1 = ucs2_strsize(name, 1024); in efivar_entry_find() 823 strsize2 = ucs2_strsize(entry->var.VariableName, 1024); in efivar_entry_find() 988 status = check_var_size(attributes, *size + ucs2_strsize(name, 1024)); in efivar_entry_set_get_size()
|
/Linux-v5.4/lib/ |
D | ucs2_string.c | 29 ucs2_strsize(const ucs2_char_t *data, unsigned long maxlength) in ucs2_strsize() function 33 EXPORT_SYMBOL(ucs2_strsize);
|
/Linux-v5.4/include/linux/ |
D | ucs2_string.h | 12 unsigned long ucs2_strsize(const ucs2_char_t *data, unsigned long maxlength);
|
/Linux-v5.4/arch/x86/platform/efi/ |
D | efi_64.c | 786 return ucs2_strsize(name, EFI_VAR_NAME_LEN) + 1; in efi_name_size()
|