Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/include/linux/
Ducs2_string.h10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
/Linux-v4.19/drivers/firmware/google/
Dgsmi.c304 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_get_variable()
373 if (ucs2_strnlen(name, GSMI_BUF_SIZE / 2) == GSMI_BUF_SIZE / 2) in gsmi_get_next_variable()
401 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
427 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_set_variable()
/Linux-v4.19/drivers/firmware/efi/
Dvars.c103 namelen = ucs2_strnlen(var_name, EFI_VAR_NAME_LEN); in validate_load_option()