Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 20 files:
- arch/powerpc/platforms/pseries/plpks-secvar.c
- drivers/hid/hid-cp2112.c, line 984
- drivers/hv/hv_kvp.c
- drivers/net/hyperv/rndis_filter.c
- drivers/platform/wmi/string.c, line 78
- drivers/platform/x86/dell/dell-wmi-sysman/sysman.c, line 45
- drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c, line 221
- drivers/usb/gadget/configfs.c, line 1200
- drivers/usb/gadget/u_os_desc.h
- drivers/usb/gadget/usbstring.c, line 59
- drivers/usb/host/xhci-dbgcap.c, line 112
- drivers/usb/misc/usb251xb.c
- fs/exfat/nls.c, line 503
- fs/f2fs/file.c, line 3790
- fs/fat/namei_vfat.c, line 519
- fs/nls/nls_base.c, line 175
- fs/ntfs/unistr.c, line 245
- fs/smb/client/cifs_unicode.c
- fs/smb/client/reparse.c, line 1069
- fs/smb/server/unicode.c
Smatch caller information:
fs/smb/client/reparse.c parse_reparse_wsl_symlink() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 1-65531 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 4096-ptr_max |
| PARAM_VALUE | 4 | maxout | 2-131062 |
| BUF_SIZE | 3 | pwcs | 2-131062 |
| BUF_SIZE | 3 | pwcs | 2-131062 |
| CAPPED_DATA | 1 | inlen | 1 |
| CAPPED_DATA | 4 | maxout | 1 |
| DATA_SOURCE | 3 | pwcs | r _kzalloc_noprof |
| TERMINATED | 0 | s | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_COUNT | 3 | ==pwcs1 | 8051 |
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
drivers/usb/misc/usb251xb.c usb251xb_get_ofdata() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 54298650400038912 |
| PARAM_VALUE | 1 | inlen | 0-31 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 0 |
| PARAM_VALUE | 4 | maxout | 62 |
| BUF_SIZE | 0 | s | 31 |
| BUF_SIZE | 3 | pwcs | 62 |
| CAPPED_DATA | 1 | inlen | 1 |
| STR_LEN | 0 | s | 0-18446744073709551613 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/misc/usb251xb.c usb251xb_get_ofdata() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 54298650400038912 |
| PARAM_VALUE | 1 | inlen | 0-31 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 0 |
| PARAM_VALUE | 4 | maxout | 62 |
| BUF_SIZE | 0 | s | 31 |
| BUF_SIZE | 3 | pwcs | 62 |
| CAPPED_DATA | 1 | inlen | 1 |
| STR_LEN | 0 | s | 0-18446744073709551613 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/misc/usb251xb.c usb251xb_get_ofdata() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 54298650400038912 |
| PARAM_VALUE | 1 | inlen | 0-31 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 0 |
| PARAM_VALUE | 4 | maxout | 62 |
| BUF_SIZE | 0 | s | 31 |
| BUF_SIZE | 3 | pwcs | 62 |
| CAPPED_DATA | 1 | inlen | 1 |
| STR_LEN | 0 | s | 0-18446744073709551613 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/exfat/nls.c exfat_utf8_to_utf16() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-1010101 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 257 |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | pwcs | 516 |
| BUF_SIZE | 3 | pwcs | 516 |
| CAPPED_DATA | 1 | inlen | 1 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 1 | inlen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 0-255 |
| UNITS | 0 | s | unit_byte |
| USER_PTR | 0 | s |
fs/ntfs/unistr.c ntfs_nlstoucs() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 1-u64max |
| PARAM_VALUE | 4 | maxout | 257-258,4098 |
| BUF_SIZE | 0 | s | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | pwcs | 516,8196,u64max |
| BUF_SIZE | 3 | pwcs | 516,8196,u64max |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 1 | inlen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 0-255 |
| USER_DATA | 1 | inlen | 1-510[c] |
| UNITS | 0 | s | unit_byte |
| UNITS | 1 | inlen | unit_byte |
| ELEM_COUNT | 3 | ==pwcs4 | 8051 |
| USER_PTR | 0 | s | |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/smb/server/unicode.c smbConvertToUTF16() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 1830041112621412352 |
| PARAM_VALUE | 4 | maxout | 6 |
| BUF_SIZE | 3 | pwcs | 12 |
| DATA_SOURCE | 1 | inlen | r utf8_to_utf32 |
| UNITS | 0 | s | unit_byte |
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/smb/server/unicode.c smb_strtoUTF16() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | endian | 1 |
| BUF_SIZE | 0 | s | (-1),1-1010103 |
| BUF_SIZE | 0 | s | (-1),1-1010103 |
| BUF_SIZE | 3 | pwcs | s32min-(-1),1-2020204 |
| BUF_SIZE | 3 | pwcs | s32min-(-1),1-2020204 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 1 | inlen | $2 |
| DATA_SOURCE | 3 | pwcs | $0 |
| DATA_SOURCE | 4 | maxout | $2 |
| STR_LEN | 0 | s | (-1),1-2 |
| STR_LEN | 0 | s | (-1),1-2 |
| STR_LEN | 1 | inlen | (-1)-1010102 |
| STR_LEN | 3 | pwcs | (-1)-1010102 |
| PREEMPT_ADD | |||
| UNITS | 1 | inlen | unit_byte |
| UNITS | 4 | maxout | unit_byte |
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/configfs.c os_desc_qw_sign_store() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | *s | 0 |
| PARAM_VALUE | 1 | inlen | 1-7 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 4 | maxout | 7 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 0 | s | 4096 |
| BUF_SIZE | 3 | pwcs | 14 |
| DATA_SOURCE | 0 | s | $1 |
| TERMINATED | 0 | s | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inlen | 1-6[c] |
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &gi->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct gadget_info)->lock |
fs/smb/client/cifs_unicode.c cifsConvertToUTF16() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 4096-ptr_max |
| PARAM_VALUE | 4 | maxout | 6 |
| BUF_SIZE | 3 | pwcs | 6 |
| BUF_SIZE | 3 | pwcs | 6 |
| DATA_SOURCE | 1 | inlen | r utf8_to_utf32 |
| DATA_SOURCE | 3 | pwcs | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | s | unit_byte |
fs/smb/client/cifs_unicode.c cifs_strtoUTF16() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | endian | 1 |
| BUF_SIZE | 0 | s | (-1),1-s32max |
| BUF_SIZE | 0 | s | (-1),1-s32max |
| BUF_SIZE | 3 | pwcs | (-1),2-s32max |
| BUF_SIZE | 3 | pwcs | (-1),2-s32max |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 1 | inlen | $2 |
| DATA_SOURCE | 3 | pwcs | $0 |
| DATA_SOURCE | 4 | maxout | $2 |
| STR_LEN | 0 | s | (-1)-1010101 |
| STR_LEN | 0 | s | (-1)-1010101 |
| STR_LEN | 1 | inlen | (-1)-1010101 |
| STR_LEN | 3 | pwcs | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | s | unit_byte |
| UNITS | 1 | inlen | unit_byte |
| UNITS | 3 | pwcs | unit_byte |
| UNITS | 4 | maxout | unit_byte |
| HALF_LOCKED2 | &pserver->_srv_mutex | ||
| HALF_LOCKED2 | &ses->server->_srv_mutex | ||
| HALF_LOCKED2 | &ses->session_mutex |
drivers/platform/x86/hp/hp-bioscfg/biosattr-interface.c hp_ascii_to_utf16_unicode() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 1-1010101 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 3 | pwcs | 4097-18446744073709547521 |
| PARAM_VALUE | 4 | maxout | 1-1010101 |
| BUF_SIZE | 0 | s | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | s | s32min,(-10),(-1)-s32max |
| CAPPED_DATA | 4 | maxout | 1 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 3 | pwcs | $0 [m] |
| DATA_SOURCE | 4 | maxout | r __fortify_strlen |
| STR_LEN | 0 | s | 1-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bioscfg_priv)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-cp2112.c pstr_store() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 1-1000000000 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 0 |
| PARAM_VALUE | 4 | maxout | 30 |
| BUF_SIZE | 3 | pwcs | 60 |
| CAPPED_DATA | 1 | inlen | 1 |
| DATA_SOURCE | 0 | s | $2 |
| DATA_SOURCE | 1 | inlen | $3 |
| NOSPEC | 1 | inlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | maxout | unit_array_size |
| ELEM_LAST | 0 | ==s1 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/gadget/usbstring.c usb_gadget_get_string() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 1-u64max |
| PARAM_VALUE | 1 | inlen | 0-126 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 4096-ptr_max |
| PARAM_VALUE | 3 | *pwcs | 0-255 |
| PARAM_VALUE | 4 | maxout | 126 |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | inlen | 1 |
| STR_LEN | 0 | s | 0-1010101 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vhub->lock |
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c populate_string_buffer() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 0-1010101 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 3 | pwcs | 4096-ptr_max |
| PARAM_VALUE | 4 | maxout | 0-2020202 |
| BUF_SIZE | 0 | s | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | s | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | s | $2 |
| STR_LEN | 0 | s | (-1),512 |
| STR_LEN | 0 | s | (-1),512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | maxout | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &wmi_priv.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct wmi_sysman_priv)->mutex |
drivers/platform/wmi/string.c wmi_string_from_utf8s() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | pwcs | 0 |
| BUF_SIZE | 0 | s | (-1),6-7 |
| BUF_SIZE | 0 | s | (-1),6-7 |
| BUF_SIZE | 3 | pwcs | (-1),10,12 |
| BUF_SIZE | 3 | pwcs | (-1),10,12 |
| DATA_SOURCE | 0 | s | $2 |
| DATA_SOURCE | 1 | inlen | $3 |
| UNITS | 1 | inlen | unit_byte |
drivers/hv/hv_kvp.c kvp_respond_to_host() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-511 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 254 |
| BUF_SIZE | 0 | s | 512 |
| BUF_SIZE | 0 | s | 512 |
| BUF_SIZE | 3 | pwcs | 512 |
| STR_LEN | 0 | s | 0-511 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c kvp_respond_to_host() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-2047 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 1022 |
| BUF_SIZE | 0 | s | 2048 |
| BUF_SIZE | 0 | s | 2048 |
| BUF_SIZE | 3 | pwcs | 2048 |
| STR_LEN | 0 | s | 0-2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c process_ob_ipinfo() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-2047 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 1024 |
| BUF_SIZE | 0 | s | 2048 |
| BUF_SIZE | 3 | pwcs | 2048 |
| STR_LEN | 0 | s | 0-2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c process_ob_ipinfo() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-2047 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 1024 |
| BUF_SIZE | 0 | s | 2048 |
| BUF_SIZE | 3 | pwcs | 2048 |
| STR_LEN | 0 | s | 0-2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c process_ob_ipinfo() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-1023 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 512 |
| BUF_SIZE | 0 | s | 1024 |
| BUF_SIZE | 3 | pwcs | 1024 |
| STR_LEN | 0 | s | 0-1023 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c process_ob_ipinfo() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-2047 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 1024 |
| BUF_SIZE | 0 | s | 2048 |
| BUF_SIZE | 3 | pwcs | 2048 |
| STR_LEN | 0 | s | 0-2047 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/hv/hv_kvp.c process_ob_ipinfo() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-255 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 4 | maxout | 128 |
| BUF_SIZE | 0 | s | 256 |
| BUF_SIZE | 3 | pwcs | 256 |
| STR_LEN | 0 | s | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hvt->lock |
drivers/net/hyperv/rndis_filter.c rndis_filter_set_device_mac() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 5601121729862537216 |
| PARAM_VALUE | 1 | inlen | 14 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 3 | pwcs | 4136-18446744073709547540 |
| PARAM_VALUE | 4 | maxout | 14 |
| BUF_SIZE | 0 | s | 15 |
| STR_LEN | 0 | s | 14 |
| TERMINATED | 0 | s | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | pwcs | unit_byte |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/hyperv/rndis_filter.c rndis_filter_set_device_mac() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 7416555979697278976 |
| PARAM_VALUE | 1 | inlen | 12 |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 3 | pwcs | 4164-18446744073709547568 |
| PARAM_VALUE | 4 | maxout | 12 |
| BUF_SIZE | 0 | s | 13 |
| STR_LEN | 0 | s | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | pwcs | unit_byte |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
fs/fat/namei_vfat.c xlate_to_uni() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | endian | 0 |
| PARAM_VALUE | 3 | pwcs | 4096-ptr_max |
| PARAM_VALUE | 4 | maxout | 257 |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | s | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | pwcs | 4096 |
| BUF_SIZE | 3 | pwcs | 4096 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | inlen | $1 |
| DATA_SOURCE | 3 | pwcs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | s | unit_byte |
fs/f2fs/file.c f2fs_ioc_setfslabel() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 0-1010101 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 4 | maxout | 512 |
| BUF_SIZE | 0 | s | s32min-s32max |
| BUF_SIZE | 3 | pwcs | 1024 |
| DATA_SOURCE | 0 | s | r strndup_user |
| STR_LEN | 0 | s | 0-1010101 |
| CAPABLE | 0 | 21 | |
| TERMINATED | 0 | s | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *s | 0-255 |
| UNITS | 4 | maxout | unit_array_size |
| USER_PTR | 0 | s | |
| LOCK2 | &sbi->sb_lock.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_populate_str_desc() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-126 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 4 | maxout | 252 |
| BUF_SIZE | 0 | s | 127 |
| BUF_SIZE | 0 | s | 127 |
| DATA_SOURCE | 0 | s | $1 |
| STR_LEN | 0 | s | 0-126 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dbc->enable_mutex | ||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |
drivers/usb/gadget/composite.c usb_ext_prop_put_name() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | 0-1010101 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | *pwcs | 0-255 |
| DATA_SOURCE | 0 | s | $1 |
| STR_LEN | 0 | s | 0-1010101 |
drivers/usb/gadget/composite.c usb_ext_prop_put_unicode() -> utf8s_to_utf16s()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inlen | (-1073741824)-1073741823 |
| PARAM_VALUE | 2 | endian | 1 |
| PARAM_VALUE | 3 | *pwcs | 0-255 |
| BUF_SIZE | 0 | s | 1-s32max |
| BUF_SIZE | 0 | s | 1-s32max |
| DATA_SOURCE | 0 | s | $2 |