Lines Matching refs:outlen
32 int charlen, outlen = 0; in smb_utf16_bytes() local
44 outlen += charlen; in smb_utf16_bytes()
46 outlen++; in smb_utf16_bytes()
49 return outlen; in smb_utf16_bytes()
143 int outlen = 0; in smb_from_utf16() local
166 if (outlen >= safelen) { in smb_from_utf16()
168 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16()
173 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
174 outlen += charlen; in smb_from_utf16()
179 to[outlen++] = 0; in smb_from_utf16()
181 return outlen; in smb_from_utf16()