Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/dcache.c __d_lookup_rcu_op_compare() -> (struct dentry_operations)->d_compare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | dentry->d_hash.pprev | 1-u64max |
| PARAM_VALUE | 0 | dentry->d_parent | 4096-ptr_max |
| PARAM_VALUE | 3 | name | 4096-ptr_max |
| BUF_SIZE | 2 | str | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | str | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dentry->d_name.hash | 1 |
| CAPPED_DATA | 0 | dentry->d_parent | 1 |
| DATA_SOURCE | 3 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | name->hash | 0-u32max[c] |
| USER_DATA | 3 | *name->name | 0-255 |
| USER_PTR | 3 | name->name | |
| HALF_LOCKED2 | &parent->d_inode->i_rwsem | ||
| HALF_LOCKED2 | rcu_read |
fs/dcache.c d_same_name() -> (struct dentry_operations)->d_compare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | name | 4096-ptr_max |
| BUF_SIZE | 2 | str | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dentry->d_name.hash | 1 |
| CAPPED_DATA | 0 | dentry->d_parent | 1 |
| DATA_SOURCE | 0 | dentry | $0 |
| DATA_SOURCE | 3 | name | $2 |
| STR_LEN | 0 | dentry | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | dentry | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | name->hash | 0-u32max[c] |
| USER_DATA | 3 | *name->name | 0-255 |
| USER_PTR | 3 | name->name | |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &dentry->d_lockref.lock |
fs/isofs/namei.c isofs_cmp() -> (struct dentry_operations)->d_compare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dentry | 0 |
| PARAM_VALUE | 3 | name | 4096-ptr_max |
| BUF_SIZE | 2 | str | s32min-(-2),1-s32max |
| CONTAINER | 2 | *(-24-160+8+96) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem |