Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ext4/hash.c, line 329
- fs/ext4/namei.c, line 1380
- fs/f2fs/dir.c, line 78
- fs/overlayfs/readdir.c, line 90
- fs/smb/server/misc.c, line 256
- fs/unicode/utf8-core.c, line 119
Smatch caller information:
fs/smb/server/misc.c ksmbd_casefold_sharename() -> utf8_casefold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | um | 1-u64max |
| PARAM_VALUE | 1 | str | 1372467547262631936 |
| PARAM_VALUE | 1 | str->len | 0-1010101 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| PARAM_VALUE | 3 | dlen | 64 |
| BUF_SIZE | 2 | dest | 64 |
| BUF_SIZE | 2 | dest | 64 |
| DATA_SOURCE | 0 | um | $0 |
| DATA_SOURCE | 2 | dest | r _kzalloc_noprof |
| LOCK2 | &pool->lock |
fs/overlayfs/readdir.c ovl_casefold() -> utf8_casefold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | um | 1-u64max |
| PARAM_VALUE | 1 | str | 5188120500834312192 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| PARAM_VALUE | 3 | dlen | 255 |
| BUF_SIZE | 2 | dest | 255 |
| BUF_SIZE | 2 | dest | 255 |
| DATA_SOURCE | 2 | dest | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ndir->mrec_lock | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &root->kernfs_rwsem | ||
| HALF_LOCKED2 | &sbi->hpfs_mutex | ||
| HALF_LOCKED2 | &sbi->s_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &adfs_dir_rwsem |
fs/ext4/hash.c ext4fs_dirhash() -> utf8_casefold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 6302598907588722688 |
| PARAM_VALUE | 1 | str->len | 1-u32max |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| PARAM_VALUE | 3 | dlen | 4096 |
| BUF_SIZE | 2 | dest | 4096 |
| BUF_SIZE | 2 | dest | 4096 |
| DATA_SOURCE | 2 | dest | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/f2fs/dir.c f2fs_init_casefolded_name() -> utf8_casefold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 1-u64max |
| PARAM_VALUE | 3 | dlen | 255 |
| DATA_SOURCE | 2 | dest | r f2fs_kmem_cache_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem |
fs/ext4/namei.c ext4_fname_setup_ci_filename() -> utf8_casefold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| PARAM_VALUE | 3 | dlen | 255 |
| BUF_SIZE | 2 | dest | 255 |
| BUF_SIZE | 2 | dest | 255 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | dest | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |