Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/namei.c lock_rename() -> lock_two_directories()

Type Parameter Key Value
PARAM_VALUE 0 p1 4096-ptr_max
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.dep_map->name 0-255
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 p1->d_sb->s_vfs_rename_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &p1->d_sb->s_vfs_rename_mutex 1
DATA_SOURCE 0 p1 $0
DATA_SOURCE 1 p2 $1
PARAM_COMPARE 0 p1 != $1
PARAM_COMPARE 0 p1 != $1
PARAM_COMPARE 1 p2 != $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p1 unit_jiffy
UNITS 1 p2 unit_jiffy
LOCK2 0 &p1->d_sb->s_vfs_rename_mutex
TYPE_LOCK (struct super_block)->s_vfs_rename_mutex

fs/namei.c lock_rename_child() -> lock_two_directories()

Type Parameter Key Value
PARAM_VALUE 0 p1->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 p1->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 p1->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 p1->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 p1->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 p1->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 p1->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 p2->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 p2->d_inode->i_rwsem.first_waiter->type 0-1
BUF_SIZE 1 p2 (-1),1-s32max
BUF_SIZE 1 p2 (-1),1-s32max
DATA_SOURCE 1 p2 $1
PARAM_COMPARE 0 p1 != $1
PARAM_COMPARE 0 p1 != $1
PARAM_COMPARE 1 p2 != $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p1 unit_jiffy
UNITS 1 p2 unit_jiffy
LOCK2 &c1->d_sb->s_vfs_rename_mutex
TYPE_LOCK (struct super_block)->s_vfs_rename_mutex