Home
last modified time | relevance | path

Searched refs:nullsize (Results 1 – 2 of 2) sorted by relevance

/fs/smb/server/
Dunicode.c165 int nullsize = nls_nullsize(codepage); in smb_from_utf16() local
176 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()
195 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16()
218 for (i = 0; i < nullsize; i++) in smb_from_utf16()
/fs/smb/client/
Dcifs_unicode.c182 int nullsize = nls_nullsize(codepage); in cifs_from_utf16() local
193 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()
214 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
235 for (i = 0; i < nullsize; i++) in cifs_from_utf16()