charlen 182 fs/cifs/cifs_unicode.c int i, charlen, safelen; charlen 215 fs/cifs/cifs_unicode.c charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); charlen 216 fs/cifs/cifs_unicode.c if ((outlen + charlen) > (tolen - nullsize)) charlen 221 fs/cifs/cifs_unicode.c charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); charlen 222 fs/cifs/cifs_unicode.c outlen += charlen; charlen 229 fs/cifs/cifs_unicode.c if (charlen == 4) charlen 231 fs/cifs/cifs_unicode.c else if (charlen >= 5) charlen 253 fs/cifs/cifs_unicode.c int charlen; charlen 278 fs/cifs/cifs_unicode.c for (i = 0; len && *from; i++, from += charlen, len -= charlen) { charlen 279 fs/cifs/cifs_unicode.c charlen = codepage->char2uni(from, len, &wchar_to); charlen 280 fs/cifs/cifs_unicode.c if (charlen < 1) { charlen 282 fs/cifs/cifs_unicode.c *from, charlen); charlen 285 fs/cifs/cifs_unicode.c charlen = 1; charlen 310 fs/cifs/cifs_unicode.c int charlen, outlen = 0; charlen 328 fs/cifs/cifs_unicode.c charlen = cifs_mapchar(tmp, ftmp, codepage, NO_MAP_UNI_RSVD); charlen 329 fs/cifs/cifs_unicode.c outlen += charlen; charlen 463 fs/cifs/cifs_unicode.c int i, charlen; charlen 479 fs/cifs/cifs_unicode.c charlen = 1; charlen 505 fs/cifs/cifs_unicode.c charlen = cp->char2uni(source + i, srclen - i, &tmp); charlen 512 fs/cifs/cifs_unicode.c if (charlen > 0) charlen 519 fs/cifs/cifs_unicode.c charlen = utf8_to_utf32(source + i, 6, &u); charlen 520 fs/cifs/cifs_unicode.c if (charlen < 0) charlen 524 fs/cifs/cifs_unicode.c ret = utf8s_to_utf16s(source + i, charlen, charlen 530 fs/cifs/cifs_unicode.c i += charlen; charlen 532 fs/cifs/cifs_unicode.c if (charlen <= 3) charlen 535 fs/cifs/cifs_unicode.c else if (charlen == 4) { charlen 543 fs/cifs/cifs_unicode.c } else if (charlen >= 5) { charlen 557 fs/cifs/cifs_unicode.c charlen = 1; charlen 565 fs/cifs/cifs_unicode.c i += charlen; charlen 590 fs/cifs/cifs_unicode.c int charlen; charlen 594 fs/cifs/cifs_unicode.c for (i = 0; len && *from; i++, from += charlen, len -= charlen) { charlen 595 fs/cifs/cifs_unicode.c charlen = codepage->char2uni(from, len, &wchar_to); charlen 597 fs/cifs/cifs_unicode.c if (charlen < 1) charlen 598 fs/cifs/cifs_unicode.c charlen = 1; charlen 812 fs/cifs/dir.c int i, charlen; charlen 815 fs/cifs/dir.c for (i = 0; i < q->len; i += charlen) { charlen 816 fs/cifs/dir.c charlen = codepage->char2uni(&q->name[i], q->len - i, &c); charlen 818 fs/cifs/dir.c if (unlikely(charlen < 0)) charlen 819 fs/cifs/dir.c return charlen; charlen 148 fs/fat/dir.c int charlen; charlen 155 fs/fat/dir.c charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); charlen 156 fs/fat/dir.c if (charlen > 0) { charlen 157 fs/fat/dir.c op += charlen; charlen 158 fs/fat/dir.c len -= charlen; charlen 195 fs/fat/dir.c int charlen; charlen 197 fs/fat/dir.c charlen = t->char2uni(c, clen, uni); charlen 198 fs/fat/dir.c if (charlen < 0) { charlen 200 fs/fat/dir.c charlen = 1; charlen 202 fs/fat/dir.c return charlen; charlen 209 fs/fat/dir.c int charlen; charlen 212 fs/fat/dir.c charlen = t->char2uni(c, clen, &wc); charlen 213 fs/fat/dir.c if (charlen < 0) { charlen 215 fs/fat/dir.c charlen = 1; charlen 216 fs/fat/dir.c } else if (charlen <= 1) { charlen 222 fs/fat/dir.c charlen = t->char2uni(&nc, 1, uni); charlen 223 fs/fat/dir.c if (charlen < 0) { charlen 225 fs/fat/dir.c charlen = 1; charlen 230 fs/fat/dir.c return charlen; charlen 518 fs/fat/namei_vfat.c int charlen; charlen 548 fs/fat/namei_vfat.c charlen = nls->char2uni(ip, len - i, charlen 550 fs/fat/namei_vfat.c if (charlen < 0) charlen 552 fs/fat/namei_vfat.c ip += charlen; charlen 553 fs/fat/namei_vfat.c i += charlen; charlen 29 fs/jfs/jfs_unicode.c int charlen; charlen 30 fs/jfs/jfs_unicode.c charlen = charlen 34 fs/jfs/jfs_unicode.c if (charlen > 0) charlen 35 fs/jfs/jfs_unicode.c outlen += charlen; charlen 72 fs/jfs/jfs_unicode.c int charlen; charlen 76 fs/jfs/jfs_unicode.c for (i = 0; len && *from; i++, from += charlen, len -= charlen) charlen 78 fs/jfs/jfs_unicode.c charlen = codepage->char2uni(from, len, &to[i]); charlen 79 fs/jfs/jfs_unicode.c if (charlen < 1) { charlen 81 fs/jfs/jfs_unicode.c charlen); charlen 84 fs/jfs/jfs_unicode.c return charlen; charlen 98 include/linux/nls.h int charlen; charlen 101 include/linux/nls.h charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); charlen 103 include/linux/nls.h return charlen > 0 ? charlen : 1;