Defined in 1 files as a member:

Defined in 52 files as a function:

Referenced in 68 files:

Smatch caller information:

fs/exfat/nls.c exfat_convert_ucs2_to_char() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 128-u16max
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out 6
BUF_SIZE 1 out 6
DATA_SOURCE 0 uni $1
DATA_SOURCE 1 out $2
FUZZY_MAX 0 uni 128
RX_PATH
TASK_NOT_RUNNING

fs/ntfs/unistr.c ntfs_ucstonls() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 1 out 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ndir->mrec_lock

fs/smb/server/unicode.c cifs_mapchar() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out (-1),6
BUF_SIZE 1 out (-1),6
DATA_SOURCE 1 out $0
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/unicode.c nls_nullsize() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0
PARAM_VALUE 1 out 5130365255509499904
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out 6
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/vboxsf/utils.c vboxsf_nlscpy() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-16383
PARAM_VALUE 2 boundlen (-2147483393)-254
BUF_SIZE 1 out (-1),255
BUF_SIZE 1 out (-1),255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/befs/linuxvfs.c befs_utf2nls() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-16383
PARAM_VALUE 1 out 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

fs/smb/client/cifs_unicode.c cifs_mapchar() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out (-1),6
BUF_SIZE 1 out (-1),6
DATA_SOURCE 1 out $0
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/cifs_unicode.c nls_nullsize() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0
PARAM_VALUE 1 out 3644555553696935936
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out 6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ses->session_mutex

fs/smb/client/readdir.c nls_nullsize() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0
PARAM_VALUE 1 out 7996258302110629888
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out 6
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

fs/isofs/joliet.c uni16_to_x8() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 1-u16max
PARAM_VALUE 2 boundlen 6

fs/jfs/jfs_unicode.c jfs_strfromUCS_le() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 1-u16max
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 boundlen 6
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/hfs/trans.c hfs_asc2mac() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-57,59-u16max
PARAM_VALUE 2 boundlen 1-s32max
BUF_SIZE 1 out (-1),31
BUF_SIZE 1 out (-1),31
FUZZY_MAX 0 uni 63
FUZZY_MAX 2 boundlen 31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock

fs/hfs/trans.c hfs_mac2asc() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-46,48-u16max
BUF_SIZE 1 out (-1),128
BUF_SIZE 1 out (-1),128
FUZZY_MAX 0 uni 63
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_utf16_to_nls() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 2 boundlen 6-s32max
BUF_SIZE 1 out (-1)-0,4096
BUF_SIZE 1 out (-1)-0,4096
DATA_SOURCE 2 boundlen $4 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 uni 0-u16max
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &ni->ni_lock

fs/fat/dir.c uni16_to_x8() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out (-1),73
BUF_SIZE 1 out (-1),73
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &sbi->s_lock

fs/fat/namei_vfat.c to_shortname_char() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-31,33-42,45,47-58,60,62-90,92,94-u16max
PARAM_VALUE 1 out 6217240538576007168
PARAM_VALUE 2 boundlen 6
BUF_SIZE 1 out 6
BUF_SIZE 1 out 6
DATA_SOURCE 1 out $1
DATA_SOURCE 2 boundlen $2
RX_PATH
TASK_NOT_RUNNING

fs/nls/nls_euc-jp.c uni2char() -> (struct nls_table)->uni2char()

Type Parameter Key Value
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
DATA_SOURCE 0 uni $0
DATA_SOURCE 1 out $1
DATA_SOURCE 2 boundlen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 uni 0-u16max
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/nls/nls_koi8-ru.c uni2char() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 0 uni 0-1037,1039-1117,1119-9564,9566-9579,9581-u16max
PARAM_VALUE 2 boundlen 1-s32max
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
DATA_SOURCE 0 uni $0
DATA_SOURCE 1 out $1
DATA_SOURCE 2 boundlen $2
FUZZY_MAX 0 uni 128
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 uni 0-1037,1039-1117,1119-9564,9566-9579,9581-u16max
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/nls/nls_koi8-ru.c uni2char() -> (struct nls_table)->uni2char()

Type Parameter Key Value
PARAM_VALUE 2 boundlen 1-s32max
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
BUF_SIZE 1 out (-1)-0,4,6,10,24,31,64,73,128,168-s32max
DATA_SOURCE 0 uni $0
DATA_SOURCE 1 out $1
DATA_SOURCE 2 boundlen $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 uni 0-u16max
HALF_LOCKED2 &(sb->s_fs_info)->cat_tree->tree_lock
HALF_LOCKED2 &inode->i_rwsem

fs/hfsplus/unicode.c hfsplus_uni2asc() -> (struct nls_table)->uni2char()

Type Parameter Key Value
BUF_SIZE 1 out (-1),10,256,265,510,767,1531
BUF_SIZE 1 out (-1),10,256,265,510,767,1531
RX_PATH
TASK_NOT_RUNNING

fs/hfsplus/unicode.c hfsplus_uni2asc() -> (struct nls_table)->uni2char()

Type Parameter Key Value
BUF_SIZE 1 out (-1),10,256,265,510,767,1531
BUF_SIZE 1 out (-1),10,256,265,510,767,1531
RX_PATH
TASK_NOT_RUNNING

fs/udf/unicode.c udf_name_conv_char() -> udf_name_conv_char param 8()

Type Parameter Key Value
PARAM_VALUE 0 uni 1-u16max
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 boundlen 1-s32max
CAPPED_DATA 2 boundlen 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 boundlen unit_byte

Smatch assignments to (struct nls_table)->uni2char:

fs/nls/nls_iso8859-13.c (null)() -> (struct nls_table)->uni2char [9068047327281201152]

fs/nls/nls_iso8859-15.c (null)() -> (struct nls_table)->uni2char [4554928665773248512]

fs/nls/nls_iso8859-14.c (null)() -> (struct nls_table)->uni2char [2823725470751354880]

fs/hfsplus/unicode_test.c free_mock_sb() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_asc2uni_basic_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_asc2uni_buffer_limits_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_asc2uni_decompose_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_asc2uni_edge_cases_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_asc2uni_special_chars_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_basic_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_casefold_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_combined_flags_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_decompose_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_edge_cases_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_length_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_compare_dentry_special_chars_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_basic_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_casefold_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_consistency_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_decompose_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_edge_cases_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_hash_dentry_special_chars_test() -> (struct nls_table)->uni2char [min-max]

fs/hfsplus/unicode_test.c hfsplus_uni2asc_basic_test() -> (struct nls_table)->uni2char [0-u64max]

fs/hfsplus/unicode_test.c hfsplus_uni2asc_buffer_test() -> (struct nls_table)->uni2char [0-u64max]

fs/hfsplus/unicode_test.c hfsplus_uni2asc_corrupted_test() -> (struct nls_table)->uni2char [0-u64max]

fs/hfsplus/unicode_test.c hfsplus_uni2asc_edge_cases_test() -> (struct nls_table)->uni2char [0-u64max]

fs/hfsplus/unicode_test.c hfsplus_uni2asc_special_chars_test() -> (struct nls_table)->uni2char [0-u64max]

fs/hfsplus/unicode_test.c setup_mock_sb() -> (struct nls_table)->uni2char [0]

fs/nls/nls_cp863.c (null)() -> (struct nls_table)->uni2char [4821054392565592064]

fs/nls/mac-greek.c (null)() -> (struct nls_table)->uni2char [6242405299275763712]

fs/nls/mac-turkish.c (null)() -> (struct nls_table)->uni2char [5888890134719983616]

fs/nls/nls_cp950.c (null)() -> (struct nls_table)->uni2char [2781685645911535616]

fs/nls/nls_iso8859-2.c (null)() -> (struct nls_table)->uni2char [7768098430706434048]

fs/smb/client/smb1ops.c cifs_mkdir_setinfo() -> (struct nls_table)->uni2char [min-max]

fs/smb/client/smb1ops.c smb_set_file_info() -> (struct nls_table)->uni2char [min-max]

fs/nls/nls_iso8859-5.c (null)() -> (struct nls_table)->uni2char [9216668082474393600]

fs/nls/nls_cp1255.c (null)() -> (struct nls_table)->uni2char [8693041376347914240]

fs/nls/nls_cp864.c (null)() -> (struct nls_table)->uni2char [8553520343333998592]

fs/nls/nls_base.c (null)() -> (struct nls_table)->uni2char [0,2681767752949678080]

fs/nls/mac-celtic.c (null)() -> (struct nls_table)->uni2char [9182981726551777280]

fs/nls/nls_iso8859-4.c (null)() -> (struct nls_table)->uni2char [6301345284569210880]

fs/nls/nls_cp852.c (null)() -> (struct nls_table)->uni2char [359904778934685696]

fs/nls/nls_cp866.c (null)() -> (struct nls_table)->uni2char [6156995733986390016]

fs/nls/nls_utf8.c (null)() -> (struct nls_table)->uni2char [6233130134414114816]

fs/nls/nls_iso8859-1.c (null)() -> (struct nls_table)->uni2char [1739816577642106880]

fs/nls/nls_cp874.c (null)() -> (struct nls_table)->uni2char [4301909039858823168]

fs/nls/nls_koi8-u.c (null)() -> (struct nls_table)->uni2char [7124555971756072960]

fs/nls/nls_cp949.c (null)() -> (struct nls_table)->uni2char [2957344833011027968]

fs/nls/nls_cp855.c (null)() -> (struct nls_table)->uni2char [3166951755829334016]

fs/nls/mac-gaelic.c (null)() -> (struct nls_table)->uni2char [4019215493271994368]

fs/nls/nls_cp775.c (null)() -> (struct nls_table)->uni2char [5008613208325496832]

fs/nls/mac-cyrillic.c (null)() -> (struct nls_table)->uni2char [8362972493244309504]

fs/nls/nls_cp865.c (null)() -> (struct nls_table)->uni2char [5735538406708563968]

fs/nls/nls_iso8859-6.c (null)() -> (struct nls_table)->uni2char [8861573899251003392]

fs/nls/mac-inuit.c (null)() -> (struct nls_table)->uni2char [5003962573968863232]

fs/nls/nls_cp932.c (null)() -> (struct nls_table)->uni2char [3062423400085618688]

fs/jfs/super.c jfs_fill_super() -> (struct nls_table)->uni2char [ignore]

fs/jfs/super.c jfs_free_fc() -> (struct nls_table)->uni2char [ignore]

fs/jfs/super.c jfs_parse_param() -> (struct nls_table)->uni2char [ignore]

fs/jfs/super.c jfs_reconfigure() -> (struct nls_table)->uni2char [ignore]

fs/nls/nls_cp861.c (null)() -> (struct nls_table)->uni2char [3090065218305519616]

fs/nls/nls_cp1251.c (null)() -> (struct nls_table)->uni2char [4162405077525168128]

fs/nls/nls_cp936.c (null)() -> (struct nls_table)->uni2char [3003214168918695936]

fs/nls/nls_cp1250.c (null)() -> (struct nls_table)->uni2char [6589460907764977664]

fs/nls/nls_cp850.c (null)() -> (struct nls_table)->uni2char [6730498219699228672]

fs/nls/nls_koi8-r.c (null)() -> (struct nls_table)->uni2char [2902099723307069440]

fs/nls/nls_cp437.c (null)() -> (struct nls_table)->uni2char [3481252109438517248]

fs/nls/nls_iso8859-7.c (null)() -> (struct nls_table)->uni2char [1297756578411577344]

fs/nls/nls_cp862.c (null)() -> (struct nls_table)->uni2char [4382030581673119744]

fs/nls/mac-iceland.c (null)() -> (struct nls_table)->uni2char [1347191247412699136]

fs/nls/mac-croatian.c (null)() -> (struct nls_table)->uni2char [1002981991485042688]

fs/nls/nls_cp857.c (null)() -> (struct nls_table)->uni2char [1643578200583831552]

fs/nls/nls_iso8859-3.c (null)() -> (struct nls_table)->uni2char [2648419283967815680]

fs/nls/nls_cp737.c (null)() -> (struct nls_table)->uni2char [729154842624966656]

fs/nls/mac-romanian.c (null)() -> (struct nls_table)->uni2char [1113780565326921728]

fs/nls/nls_cp860.c (null)() -> (struct nls_table)->uni2char [5025611296873381888]

fs/nls/nls_euc-jp.c (null)() -> (struct nls_table)->uni2char [8779720893166129152]

fs/nls/nls_iso8859-9.c (null)() -> (struct nls_table)->uni2char [5133112285343301632]

fs/nls/nls_koi8-ru.c (null)() -> (struct nls_table)->uni2char [1061410527528878080]

fs/nls/nls_ascii.c (null)() -> (struct nls_table)->uni2char [3248238706371321856]

fs/nls/mac-centeuro.c (null)() -> (struct nls_table)->uni2char [97902095722897408]

fs/nls/mac-roman.c (null)() -> (struct nls_table)->uni2char [2190405709057032192]

fs/nls/nls_cp869.c (null)() -> (struct nls_table)->uni2char [4812244440793227264]