Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ext2/dir.c ext2_inode_by_name() -> ext2_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 2 | foliop | 7484324454767505408 |
| DATA_SOURCE | 0 | dir | $0 |
| DATA_SOURCE | 1 | child | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | 0 | &dir->i_rwsem |
fs/ext2/namei.c ext2_rename() -> ext2_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rename | 4096-ptr_max |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 2 | foliop | 4763782259492212736 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ext2/namei.c ext2_rename() -> ext2_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 2 | foliop | 8182761358542270464 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ext2/namei.c ext2_unlink() -> ext2_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->rmdir | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->unlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 2 | foliop | 35864632452894720 |
| CAPPED_DATA | 0 | dir | 1 |
| DATA_SOURCE | 0 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |