Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/server/unicode.c smb_from_utf16() -> nls_nullsize()

Type Parameter Key Value
PARAM_VALUE 0 codepage 4096-ptr_max
PARAM_VALUE 0 codepage->uni2char 4096-ptr_max
DATA_SOURCE 0 codepage $4
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/unicode.c smb_strndup_from_utf16() -> nls_nullsize()

Type Parameter Key Value
DATA_SOURCE 0 codepage $3
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/client/cifs_unicode.c cifs_from_utf16() -> nls_nullsize()

Type Parameter Key Value
DATA_SOURCE 0 codepage $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/cifs_unicode.c cifs_strndup_from_utf16() -> nls_nullsize()

Type Parameter Key Value
DATA_SOURCE 0 codepage $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/readdir.c cifs_filldir() -> nls_nullsize()

Type Parameter Key Value
PARAM_VALUE 0 codepage 4096-ptr_max
PARAM_VALUE 0 codepage->uni2char 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem