Home
last modified time | relevance | path

Searched refs:unilen (Results 1 – 2 of 2) sorted by relevance

/linux/fs/exfat/
H A Dnls.c497 int i, unilen, lossy = NLS_NAME_NO_LOSSY; in exfat_utf8_to_utf16() local
503 unilen = utf8s_to_utf16s(p_cstring, len, UTF16_HOST_ENDIAN, in exfat_utf8_to_utf16()
505 if (unilen < 0) { in exfat_utf8_to_utf16()
507 __func__, unilen, len); in exfat_utf8_to_utf16()
508 return unilen; in exfat_utf8_to_utf16()
511 if (unilen > MAX_NAME_LENGTH) { in exfat_utf8_to_utf16()
513 __func__, len, unilen, MAX_NAME_LENGTH); in exfat_utf8_to_utf16()
517 for (i = 0; i < unilen; i++) { in exfat_utf8_to_utf16()
527 p_uniname->name_len = unilen; in exfat_utf8_to_utf16()
528 p_uniname->name_hash = exfat_calc_chksum16(upname, unilen << 1, 0, in exfat_utf8_to_utf16()
[all …]
/linux/fs/befs/
H A Dlinuxvfs.c509 int unilen, utflen; in befs_utf2nls() local
528 for (i = o = 0; i < in_len; i += utflen, o += unilen) { in befs_utf2nls()
538 unilen = nls->uni2char(uni, &result[o], in_len - o); in befs_utf2nls()
539 if (unilen < 0) in befs_utf2nls()
586 int unilen, utflen; in befs_nls2utf() local
609 for (i = o = 0; i < in_len; i += unilen, o += utflen) { in befs_nls2utf()
612 unilen = nls->char2uni(&in[i], in_len - i, &uni); in befs_nls2utf()
613 if (unilen < 0) in befs_nls2utf()