Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Ducs2_string.c7 ucs2_strnlen(const ucs2_char_t *s, size_t maxlength) in ucs2_strnlen() function
15 EXPORT_SYMBOL(ucs2_strnlen);
20 return ucs2_strnlen(s, ~0UL); in ucs2_strlen()
31 return ucs2_strnlen(data, maxlength/sizeof(ucs2_char_t)) * sizeof(ucs2_char_t); in ucs2_strsize()
87 unsigned long limit = ucs2_strnlen(src, maxlength); in ucs2_as_utf8()
/kernel/linux/linux-5.10/include/linux/
Ducs2_string.h10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
/kernel/linux/linux-5.10/drivers/firmware/google/
Dgsmi.c321 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_get_variable()
391 if (ucs2_strnlen(name, GSMI_BUF_SIZE / 2) == GSMI_BUF_SIZE / 2) in gsmi_get_next_variable()
419 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
445 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_set_variable()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dvars.c86 namelen = ucs2_strnlen(var_name, EFI_VAR_NAME_LEN); in validate_load_option()