Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A 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()
/openbmc/linux/include/linux/
H A Ducs2_string.h10 unsigned long ucs2_strnlen(const ucs2_char_t *s, size_t maxlength);
/openbmc/linux/drivers/firmware/google/
H A Dgsmi.c322 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_get_variable()
392 if (ucs2_strnlen(name, GSMI_BUF_SIZE / 2) == GSMI_BUF_SIZE / 2) in gsmi_get_next_variable()
420 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; in gsmi_get_next_variable()
446 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); in gsmi_set_variable()
/openbmc/linux/drivers/firmware/efi/
H A Defi-pstore.c120 wlen = (ucs2_strnlen(varname, DUMP_NAME_LEN) + 1) * sizeof(efi_char16_t); in efi_pstore_read_func()
/openbmc/linux/fs/efivarfs/
H A Dvars.c78 namelen = ucs2_strnlen(var_name, EFI_VAR_NAME_LEN); in validate_load_option()