Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/namei.c ocfs2_link() -> ocfs2_check_dir_for_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_nlink 1-u32max
PARAM_VALUE 0 dir->i_op 4096-ptr_max
PARAM_VALUE 0 dir->i_op->link 4096-ptr_max
PARAM_VALUE 0 dir->i_op->mknod 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 4096-ptr_max
PARAM_VALUE 0 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
BUF_SIZE 1 name s32min-(-2),1-s32max
CAPPED_DATA 0 dir->i_sb 1
CAPPED_DATA 0 dir->i_sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 0 dir->i_sb->s_user_ns->uid_map.nr_extents 1
DATA_SOURCE 0 dir $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dir->i_mode 0-u16max
USER_DATA 0 dir->i_size (-9223372036854775807)-(-4),0-s64max
UNITS 1 name unit_byte
UNITS 2 namelen unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/namei.c ocfs2_mv_orphaned_inode_to_new() -> ocfs2_check_dir_for_entry()

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 0 dir->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dir->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 dir->i_sb 4096-ptr_max
PARAM_VALUE 0 dir->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
BUF_SIZE 1 name s32min-(-2),1-s32max
CAPPED_DATA 0 dir->i_sb 1
DATA_SOURCE 0 dir $0
UNITS 1 name unit_byte
UNITS 2 namelen unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem