Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/unicode.c smb_strndup_from_utf16() -> smb_from_utf16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 16,4096-ptr_max |
| PARAM_VALUE | 2 | tolen | 0-4000000 |
| PARAM_VALUE | 4 | codepage | 4096-ptr_max |
| PARAM_VALUE | 4 | codepage->uni2char | 4096-ptr_max |
| PARAM_VALUE | 5 | mapchar | 0 |
| BUF_SIZE | 0 | to | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | to | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | to | r _kmalloc_noprof |
| DATA_SOURCE | 1 | from | $0 |
| DATA_SOURCE | 3 | fromlen | $1 |
| DATA_SOURCE | 4 | codepage | $3 |
| USER_DATA | 1 | *from | 0-u16max |
| USER_DATA | 3 | fromlen | 0-u16max |
| UNITS | 1 | from | unit_byte |
| UNITS | 3 | fromlen | unit_byte |
| BYTE_COUNT | 0 | ==to2 | 8050 |
| USER_PTR | 1 | from | |
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock |