Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ext4/namei.c __ext4_unlink() -> ext4_find_entry()

Type Parameter Key Value
PARAM_VALUE 0 dir 0-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 1 d_name 4096-ptr_max
PARAM_VALUE 2 res_dir 5865138978648092672
PARAM_VALUE 2 *res_dir 0
PARAM_VALUE 3 inlined 0
CAPPED_DATA 0 dir 1
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 d_name $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &target->i_rwsem
HALF_LOCKED2 0 &dir->i_rwsem

fs/ext4/namei.c ext4_find_delete_entry() -> ext4_find_entry()

Type Parameter Key Value
PARAM_VALUE 0 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 d_name 4096-ptr_max
PARAM_VALUE 2 res_dir 3349703092425953280
PARAM_VALUE 2 *res_dir 0
PARAM_VALUE 3 inlined 0
DATA_SOURCE 0 dir $1
DATA_SOURCE 1 d_name $2

fs/ext4/namei.c ext4_get_parent() -> ext4_find_entry()

Type Parameter Key Value
PARAM_VALUE 1 d_name 8554157963007938560
PARAM_VALUE 2 res_dir 3041673740652380160
PARAM_VALUE 2 *res_dir 0
PARAM_VALUE 3 inlined 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &child->d_lockref.lock

fs/ext4/namei.c ext4_resetent() -> ext4_find_entry()

Type Parameter Key Value
PARAM_VALUE 1 d_name 4096-ptr_max
PARAM_VALUE 2 res_dir 4355038434981302312
PARAM_VALUE 3 inlined 4355038434981302320

fs/ext4/namei.c ext4_rmdir() -> ext4_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 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 4096-ptr_max
PARAM_VALUE 0 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 d_name 4096-ptr_max
PARAM_VALUE 2 res_dir 3897161132508545024
PARAM_VALUE 2 *res_dir 0
PARAM_VALUE 3 inlined 0
CAPPED_DATA 0 dir 1
DATA_SOURCE 0 dir $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &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 0 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem