Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/libfs.c
- fs/smb/server/vfs.c, line 1111
- fs/unicode/tests/utf8_kunit.c, line 237
- fs/unicode/utf8-core.c, line 70
Smatch caller information:
fs/smb/server/vfs.c __caseless_lookup() -> utf8_strncasecmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | um | 1-u64max |
| PARAM_VALUE | 1 | s1 | 4416222118032875520 |
| PARAM_VALUE | 2 | s2 | 5174136127051190272 |
| 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/unicode/tests/utf8_kunit.c check_utf8_comparisons() -> utf8_strncasecmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | s1 | 5827860071145869312 |
| PARAM_VALUE | 1 | s1->len | 30 |
| PARAM_VALUE | 2 | s2 | 724667727570690048 |
| PARAM_VALUE | 2 | s2->len | 30 |
| BUF_SIZE | 0 | um | s32min,(-10),1-s32max |
| BUF_SIZE | 0 | um | s32min,(-10),1-s32max |
fs/libfs.c generic_ci_d_compare() -> utf8_strncasecmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | s1 | 4096-ptr_max |
| PARAM_VALUE | 2 | s2 | 8639146157740617728 |
| BUF_SIZE | 1 | s1->name | s32min,(-1),1-s32max |
| DATA_SOURCE | 1 | s1 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | s1->hash | 0-u32max[c] |
| USER_DATA | 1 | *s1->name | 0-255 |
| USER_PTR | 1 | s1->name |
fs/libfs.c generic_ci_match() -> utf8_strncasecmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | s1 | 4096-ptr_max |
| PARAM_VALUE | 2 | s2 | 2415434204857847808 |
| PARAM_VALUE | 2 | s2->len | 0 |
| DATA_SOURCE | 1 | s1 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &parent->i_rwsem |