Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/libfs.c offset_dir_lookup() -> find_positive_dentry()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op 4096-ptr_max
PARAM_VALUE 1 dentry 0
PARAM_VALUE 2 next 0
DATA_SOURCE 0 parent $0
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/libfs.c offset_dir_lookup() -> find_positive_dentry()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op 4096-ptr_max
PARAM_VALUE 2 next 0
DATA_SOURCE 0 parent $0
DATA_SOURCE 1 dentry r mas_find_rev
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/libfs.c offset_iterate_dir() -> find_positive_dentry()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_inode 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op->get_offset_ctx 4096-ptr_max
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode 4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 1 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 2 next 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 1 &dentry->d_lockref.lock
TYPE_LOCK (struct inode)->i_rwsem