Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/firmware/efi/libstub/printk.c, line 27 (as a function)
- fs/nls/nls_base.c, line 55 (as a function)
Referenced in 10 files:
- drivers/firmware/efi/libstub/printk.c, line 85
- fs/befs/linuxvfs.c, line 532
- fs/exfat/namei.c
- fs/nls/nls_base.c
- fs/nls/nls_utf8.c, line 34
- fs/ntfs3/dir.c, line 130
- fs/smb/client/cifs_unicode.c, line 515
- fs/smb/server/unicode.c, line 401
- fs/udf/unicode.c, line 308
- fs/vboxsf/utils.c, line 458
Smatch caller information:
fs/smb/server/unicode.c smbConvertToUTF16() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 6 |
| PARAM_VALUE | 2 | pu | 2114203110403489792 |
| UNITS | 0 | s | unit_byte |
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/vboxsf/utils.c vboxsf_nlscpy() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pu | 325106920272773120 |
| 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() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 1-255 |
| PARAM_VALUE | 2 | pu | 4435684854602596352 |
| 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 cifsConvertToUTF16() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 6 |
| PARAM_VALUE | 2 | pu | 5918254089936261120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | s | unit_byte |
fs/nls/nls_base.c utf8s_to_utf16s() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | pu | 7406286458540601344 |
| BUF_SIZE | 0 | s | s32min-s32max |
| DATA_SOURCE | 0 | s | $0 [m] |
| DATA_SOURCE | 1 | inlen | $1 [m] |
| STR_LEN | 0 | s | (-1)-s32max |
| STR_LEN | 0 | s | (-1)-s32max |
| BIT_INFO | 0 | *s | 0x80,0xff |
| NOSPEC | 1 | inlen | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 128-255 |
| USER_DATA | 1 | inlen | 1-510[c] |
| USER_DATA | 2 | *pu | 0-16383[c] |
| UNITS | 0 | s | unit_byte |
| UNITS | 1 | inlen | unit_byte |
| USER_PTR | 0 | s | |
| USER_PTR | 2 | pu | |
| HALF_LOCKED2 | &dbc->enable_mutex | ||
| HALF_LOCKED2 | &dbc->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sbi->sb_lock.internal_rwsem | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &bioscfg_drv.mutex | ||
| HALF_LOCKED2 | global &wmi_priv.mutex |
drivers/firmware/efi/libstub/printk.c efi_puts() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 129003838985723904 |
| PARAM_VALUE | 0 | *s | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nls/nls_utf8.c char2uni() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pu | 3181828090026110976 |
| BUF_SIZE | 0 | s | s32min-s32max |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | inlen | $1 |
| STR_LEN | 0 | s | (-1)-1010101 |
| STR_LEN | 0 | s | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 0-255 |
| USER_DATA | 1 | inlen | 1-510[c] |
| UNITS | 1 | inlen | unit_byte |
| USER_PTR | 0 | s | |
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | global &htable_rw_lock |
fs/exfat/namei.c exfat_utf8_d_cmp() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | pu | 6809135402442506240 |
| CAPPED_DATA | 1 | inlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 0-255 |
| USER_DATA | 2 | *pu | 0-16383[c] |
| USER_PTR | 0 | s | |
| USER_PTR | 2 | pu |
fs/exfat/namei.c exfat_utf8_d_cmp() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 2 | pu | 7102820848726827008 |
| CAPPED_DATA | 1 | inlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/exfat/namei.c exfat_utf8_d_hash() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | pu | 985804698758221824 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ntfs3/dir.c _utf8s_to_utf16s() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | *s | 128-255 |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | pu | 6642141188493516800 |
| DATA_SOURCE | 0 | s | $0 [m] |
| DATA_SOURCE | 1 | inlen | $1 [m] |
| BIT_INFO | 0 | *s | 0x80,0xff |
| NOSPEC | 1 | inlen | |
| NOSPEC | 1 | inlen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *s | 128-255 |
| USER_DATA | 1 | inlen | 1-4000000[c] |
| USER_DATA | 2 | *pu | 0-16383[c] |
| UNITS | 0 | s | unit_byte |
| UNITS | 1 | inlen | unit_byte |
| USER_PTR | 0 | s | |
| USER_PTR | 2 | pu |
fs/udf/unicode.c udf_name_to_CS0() -> utf8_to_utf32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 1 | inlen | 1-s32max |
| PARAM_VALUE | 2 | pu | 8706426595970809856 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | inlen | unit_byte |
| HALF_LOCKED2 | &iinfo->i_data_sem |