Searched refs:safelen (Results 1 – 2 of 2) sorted by relevance
142 int i, charlen, safelen; in smb_from_utf16() local155 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()166 if (outlen >= safelen) { in smb_from_utf16()
180 int i, charlen, safelen; in cifs_from_utf16() local193 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()212 if (outlen >= safelen) { in cifs_from_utf16()