Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/namespace.c attach_recursive_mnt() -> mnt_change_mountpoint()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->overmount 0
PARAM_VALUE 0 parent->overmount->overmount 0
PARAM_VALUE 1 mp 1-u64max
PARAM_VALUE 2 mnt 4096-ptr_max
CAPPED_DATA 2 mnt->mnt_mountpoint 1
DATA_SOURCE 0 parent r topmost_overmount
DATA_SOURCE 2 mnt r __lookup_mnt
BIT_INFO 2 mnt->mnt.mnt_flags 0x0,0xff7fffff
RX_PATH
NOCHECK_CALL
LOCK2 global &mount_lock.lock

fs/pnode.c reparent() -> mnt_change_mountpoint()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 2 mnt 4096-ptr_max
DATA_SOURCE 2 mnt $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &mount_lock.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &to_path.dentry->d_inode->i_rwsem
HALF_LOCKED2 global &namespace_sem