Lines Matching refs:outlen
33 int charlen, outlen = 0; in smb_utf16_bytes() local
45 outlen += charlen; in smb_utf16_bytes()
47 outlen++; in smb_utf16_bytes()
50 return outlen; in smb_utf16_bytes()
162 int outlen = 0; in smb_from_utf16() local
185 if (outlen >= safelen) { in smb_from_utf16()
187 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16()
192 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
193 outlen += charlen; in smb_from_utf16()
198 to[outlen++] = 0; in smb_from_utf16()
200 return outlen; in smb_from_utf16()