Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/namei.c lookup_one() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| PARAM_VALUE | 2 | base | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $1 |
| DATA_SOURCE | 2 | base | $2 |
| 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/namei.c lookup_one_positive_killable() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| PARAM_VALUE | 2 | base | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 2 | base | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $1 |
| DATA_SOURCE | 2 | base | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/namei.c lookup_one_unlocked() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 2 | base->d_inode->i_sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 2 | base->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | base->d_inode->i_sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | base->d_sb->s_export_op->get_name | 0,3053585434600701952,4446407003036676096,4451526262822047744,5730886654511411200 |
| BUF_SIZE | 2 | base | (-1)-s32max |
| BUF_SIZE | 2 | base | (-1)-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $1 |
| DATA_SOURCE | 2 | base | $2 |
| STR_LEN | 0 | idmap | (-1)-0 |
| STR_LEN | 0 | idmap | (-1)-0 |
| STR_LEN | 1 | qname | (-1)-0 |
| STR_LEN | 2 | base | (-1)-0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 2 | &base->d_inode->i_rwsem |
fs/namei.c start_creating() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| PARAM_VALUE | 2 | base->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | base->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | base->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | base->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | base->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | base->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | base->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | base->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | base->d_parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | base->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| BUF_SIZE | 2 | base | (-1),1-s32max |
| BUF_SIZE | 2 | base | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $2 |
| DATA_SOURCE | 2 | base | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | base->d_inode->i_mode | 0-u16max |
| USER_DATA | 2 | base->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 2 | base->moved->d_inode->i_size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 2 | &base->d_inode->i_rwsem |
fs/namei.c start_creating_killable() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 5739191687517331456 |
| PARAM_VALUE | 1 | qname->name | 4096-ptr_max |
| PARAM_VALUE | 2 | base | 4096-ptr_max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $2 |
| DATA_SOURCE | 2 | base | $1 |
fs/namei.c start_removing() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $2 |
| DATA_SOURCE | 2 | base | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache->daemon_mutex |
fs/namei.c start_removing_killable() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| PARAM_VALUE | 2 | base | 4096-ptr_max |
| BUF_SIZE | 2 | base | (-1)-s32max |
| BUF_SIZE | 2 | base | (-1)-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | qname | $2 |
| DATA_SOURCE | 2 | base | $1 |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/namei.c start_renaming() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| DATA_SOURCE | 1 | qname | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | base | unit_jiffy |
fs/namei.c start_renaming() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| DATA_SOURCE | 1 | qname | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | base | unit_jiffy |
fs/namei.c start_renaming_dentry() -> lookup_one_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qname | 4096-ptr_max |
| DATA_SOURCE | 1 | qname | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | base | unit_jiffy |