Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/exfat/nls.c exfat_convert_char_to_ucs2() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-1010101 |
| PARAM_VALUE | 2 | uni | 4096-ptr_max |
| PARAM_VALUE | 2 | *uni | 0 |
| BUF_SIZE | 2 | uni | (-1),516 |
| BUF_SIZE | 2 | uni | (-1),516 |
| CAPPED_DATA | 1 | boundlen | 1 |
| DATA_SOURCE | 0 | rawstring | $1 |
| DATA_SOURCE | 1 | boundlen | $2 |
| DATA_SOURCE | 2 | uni | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_PTR | 0 | rawstring |
fs/ntfs/unistr.c ntfs_nlstoucs() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 7796952453837438976 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_DATA | 1 | boundlen | 1-510[c] |
| USER_PTR | 0 | rawstring | |
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/smb/server/unicode.c smbConvertToUTF16() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 1609910376574967808 |
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/smb/server/unicode.c smb_strtoUTF16() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 0 | *rawstring | 1-255 |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 6818377089299816448 |
| BUF_SIZE | 0 | rawstring | (-1),1-1010103 |
| BUF_SIZE | 0 | rawstring | (-1),1-1010103 |
| DATA_SOURCE | 0 | rawstring | $1 [m] |
| DATA_SOURCE | 1 | boundlen | $2 [m] |
| STR_LEN | 0 | rawstring | (-1),1-2 |
| STR_LEN | 0 | rawstring | (-1),1-2 |
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/vboxsf/utils.c vboxsf_path_from_dentry() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | uni | 320871918515355648 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/befs/linuxvfs.c befs_nls2utf() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-1010101 |
| PARAM_VALUE | 2 | uni | 2227061520509988864 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem |
fs/smb/client/cifs_unicode.c cifsConvertToUTF16() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-1010101 |
| PARAM_VALUE | 2 | uni | 6660497928517337088 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cifs_unicode.c cifs_local_to_utf16_bytes() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 0 | *rawstring | 1-255 |
| PARAM_VALUE | 1 | boundlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | uni | 7195042919124889600 |
| BUF_SIZE | 0 | rawstring | s32min-1010108 |
| BUF_SIZE | 0 | rawstring | s32min-1010108 |
| DATA_SOURCE | 0 | rawstring | $0 [m] |
| DATA_SOURCE | 1 | boundlen | $1 [m] |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/cifs_unicode.c cifs_strtoUTF16() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 0 | *rawstring | 1-255 |
| PARAM_VALUE | 1 | boundlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | uni | 6153755810324447232 |
| BUF_SIZE | 0 | rawstring | (-1),1-s32max |
| BUF_SIZE | 0 | rawstring | (-1),1-s32max |
| DATA_SOURCE | 0 | rawstring | $1 [m] |
| DATA_SOURCE | 1 | boundlen | $2 [m] |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pserver->_srv_mutex | ||
| HALF_LOCKED2 | &ses->server->_srv_mutex | ||
| HALF_LOCKED2 | &ses->session_mutex |
fs/smb/client/dfs_cache.c cache_entry_hash() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 146332540407296000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &htable_rw_lock |
fs/smb/client/dfs_cache.c dfs_path_equal() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-1010101 |
| PARAM_VALUE | 2 | uni | 2472470556761399296 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &htable_rw_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/dfs_cache.c dfs_path_equal() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-1010101 |
| PARAM_VALUE | 2 | uni | 3274494747855024128 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &htable_rw_lock | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/dir.c cifs_ci_compare() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | uni | 5427536171028238336 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/dir.c cifs_ci_compare() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 2 | uni | 7048533805330673664 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_PTR | 0 | rawstring |
fs/smb/client/dir.c cifs_ci_hash() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 6442492218212196352 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/exfat/namei.c exfat_d_cmp() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 2 | uni | 800188706572210176 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_PTR | 0 | rawstring |
fs/exfat/namei.c exfat_d_cmp() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 2 | uni | 5436415041776017408 |
| CAPPED_DATA | 1 | boundlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/exfat/namei.c exfat_d_hash() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 208410397287067648 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/jfs/jfs_unicode.c jfs_strtoUCS() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 0 | *rawstring | 1-255 |
| PARAM_VALUE | 1 | boundlen | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | uni | 4096-ptr_max |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rawstring | $1 [m] |
| DATA_SOURCE | 1 | boundlen | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/hfs/trans.c hfs_asc2mac() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 632137622676852736 |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/trans.c hfs_mac2asc() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 9178294636900610048 |
| BUF_SIZE | 0 | rawstring | (-1),31 |
| BUF_SIZE | 0 | rawstring | (-1),31 |
| FUZZY_MAX | 1 | boundlen | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/dir.c ntfs_nls_to_utf16() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 0-18446744073709547519 |
| PARAM_VALUE | 2 | uni | 4096-ptr_max |
| BUF_SIZE | 0 | rawstring | s32min-s32max |
| CAPPED_DATA | 0 | rawstring | 1 |
| DATA_SOURCE | 0 | rawstring | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_PTR | 0 | rawstring |
fs/fat/dir.c fat_short2lower_uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-8 |
| PARAM_VALUE | 2 | uni | 2438735182172643328 |
| DATA_SOURCE | 0 | rawstring | $1 |
| DATA_SOURCE | 1 | boundlen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_lock |
fs/fat/dir.c fat_short2lower_uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 6989707558250446848 |
| PARAM_VALUE | 1 | boundlen | 1 |
| PARAM_VALUE | 2 | uni | 4096-ptr_max |
| DATA_SOURCE | 2 | uni | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_lock |
fs/fat/dir.c fat_short2uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-8 |
| PARAM_VALUE | 2 | uni | 4096-ptr_max |
| BUF_SIZE | 0 | rawstring | (-1),2 |
| BUF_SIZE | 0 | rawstring | (-1),2 |
| DATA_SOURCE | 0 | rawstring | $1 |
| DATA_SOURCE | 1 | boundlen | $2 |
| DATA_SOURCE | 2 | uni | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_lock |
fs/fat/namei_vfat.c xlate_to_uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | *uni | 0-255 |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | uni | (-1),4096 |
| BUF_SIZE | 2 | uni | (-1),4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nls/nls_euc-jp.c char2uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 2 |
| BUF_SIZE | 0 | rawstring | 2 |
| BUF_SIZE | 2 | uni | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | uni | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 2 | uni | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | global &htable_rw_lock |
fs/nls/nls_koi8-ru.c char2uni() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| BUF_SIZE | 0 | rawstring | s32min-s32max |
| BUF_SIZE | 2 | uni | (-1),4,24,64,168-s32max |
| BUF_SIZE | 2 | uni | (-1),4,24,64,168-s32max |
| DATA_SOURCE | 0 | rawstring | $0 |
| DATA_SOURCE | 1 | boundlen | $1 |
| DATA_SOURCE | 2 | uni | $2 |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| STR_LEN | 0 | rawstring | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_DATA | 1 | boundlen | 1-510[c] |
| USER_PTR | 0 | rawstring | |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | global &htable_rw_lock |
fs/hfsplus/unicode.c asc2unichar() -> (struct nls_table)->char2uni()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 4623595514630447104,6783264410552750080,7605214624923996160 |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rawstring | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rawstring | $1 |
| DATA_SOURCE | 1 | boundlen | $2 |
| DATA_SOURCE | 2 | uni | $3 |
| STR_LEN | 0 | rawstring | (-1),29 |
| STR_LEN | 0 | rawstring | (-1),29 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *rawstring | 0-255 |
| USER_PTR | 0 | rawstring |
fs/udf/unicode.c udf_name_to_CS0() -> udf_name_to_CS0 ptr conv_f()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rawstring | 4096-ptr_max |
| PARAM_VALUE | 1 | boundlen | 1-s32max |
| PARAM_VALUE | 2 | uni | 5902555683010248704 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | boundlen | unit_byte |
| HALF_LOCKED2 | &iinfo->i_data_sem |