Searched refs:safelen (Results 1 – 2 of 2) sorted by relevance
163 int i, j, charlen, safelen; in smb_from_utf16() local176 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()193 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()