Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dunicode.c163 int nullsize = nls_nullsize(codepage); in smb_from_utf16() local
174 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()
187 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16()
197 for (i = 0; i < nullsize; i++) in smb_from_utf16()
/linux-6.1.9/fs/cifs/
Dcifs_unicode.c183 int nullsize = nls_nullsize(codepage); in cifs_from_utf16() local
194 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()
215 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
236 for (i = 0; i < nullsize; i++) in cifs_from_utf16()