Searched refs:ucs2_strnlen (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | ucs2_string.c | 7 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/ |
D | ucs2_string.h | 10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
|
/kernel/linux/linux-5.10/drivers/firmware/google/ |
D | gsmi.c | 321 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/ |
D | vars.c | 86 namelen = ucs2_strnlen(var_name, EFI_VAR_NAME_LEN); in validate_load_option()
|