Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Ducs2_string.h10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
/Linux-v5.4/drivers/firmware/google/
Dgsmi.c320 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_get_variable()
389 if (ucs2_strnlen(name, GSMI_BUF_SIZE / 2) == GSMI_BUF_SIZE / 2) in gsmi_get_next_variable()
417 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
443 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_set_variable()
/Linux-v5.4/drivers/firmware/efi/
Dvars.c90 namelen = ucs2_strnlen(var_name, EFI_VAR_NAME_LEN); in validate_load_option()