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