Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 target 9181863292645744640
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 2 cp 4096-ptr_max
PARAM_VALUE 2 cp->uni2char 4096-ptr_max
PARAM_VALUE 3 mapchar 0
BUF_SIZE 0 target 6
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $4
DATA_SOURCE 3 mapchar $5
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 target 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 2 cp 4096-ptr_max
PARAM_VALUE 2 cp->uni2char 4096-ptr_max
PARAM_VALUE 3 mapchar 0
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $4
DATA_SOURCE 3 mapchar $5
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/unicode.c smb_utf16_bytes() -> cifs_mapchar()

Type Parameter Key Value
PARAM_VALUE 0 target 8205989346897428480
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 3 mapchar 0
BUF_SIZE 0 target 6
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $2
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 target 5062609485722370048
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 2 cp 4096-ptr_max
PARAM_VALUE 2 cp->uni2char 4096-ptr_max
PARAM_VALUE 3 mapchar 0-2
BUF_SIZE 0 target 6
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $4
DATA_SOURCE 3 mapchar $5
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 target 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 2 cp 4096-ptr_max
PARAM_VALUE 2 cp->uni2char 4096-ptr_max
PARAM_VALUE 3 mapchar 0-2
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $4
DATA_SOURCE 3 mapchar $5
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/cifs_unicode.c cifs_utf16_bytes() -> cifs_mapchar()

Type Parameter Key Value
PARAM_VALUE 0 target 8768442731330244608
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 3 mapchar 0
BUF_SIZE 0 target 6
BUF_SIZE 1 from 6
DATA_SOURCE 2 cp $2
RX_PATH
TASK_NOT_RUNNING