Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/namespace.c __do_loopback() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 1 root 0,4096-ptr_max
PARAM_VALUE 2 flag 0,2,64
CAPPED_DATA 1 root 1
DATA_SOURCE 0 old r real_mount
DATA_SOURCE 2 flag $2
BIT_INFO 0 old->mnt_t_flags 0x0,0xfffffffd
BIT_INFO 2 flag 0x0,0x42
HALF_LOCKED2 &to_path.dentry->d_inode->i_rwsem
HALF_LOCKED2 global &namespace_sem

fs/namespace.c clone_private_mount() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 0 old->mnt_ns 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 2 flag 16
CAPPED_DATA 0 old 1
CAPPED_DATA 1 root 1
DATA_SOURCE 0 old r real_mount
NS_CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &namespace_sem
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/namespace.c copy_mnt_ns() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 2 flag 0,2,7
FUZZY_MAX 2 flag 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 root unit_jiffy
LOCK2 global &namespace_sem
HALF_LOCKED2 &tsk->signal->exec_update_lock

fs/namespace.c copy_tree() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 1 root->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 root->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 root->d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 flag 0,2,5,7-8,10,64
BUF_SIZE 0 old (-1),1-s32max
BUF_SIZE 0 old (-1),1-s32max
DATA_SOURCE 0 old $0
DATA_SOURCE 1 root $1
DATA_SOURCE 2 flag $2
FUZZY_MAX 2 flag 8
BIT_INFO 2 flag 0x0,0x4f
RX_PATH
TASK_NOT_RUNNING
UNITS 1 root unit_jiffy
HALF_LOCKED2 global &namespace_sem

fs/namespace.c copy_tree() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 2 flag 0,2,5,7-8,10,64
CAPPED_DATA 0 old->mnt_parent 1
DATA_SOURCE 2 flag $2
FUZZY_MAX 2 flag 8
BIT_INFO 2 flag 0x0,0x4f
RX_PATH
TASK_NOT_RUNNING
UNITS 1 root unit_jiffy
HALF_LOCKED2 global &namespace_sem

fs/namespace.c create_new_namespace() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 2 flag 0,2
NS_CAPABLE 0 21
BIT_INFO 2 flag 0x0,0x2
LOCK2 &to_path.dentry->d_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/namespace.c lock_mount_exact() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 1 root 4096-ptr_max
PARAM_VALUE 1 root->d_inode 4096-ptr_max
PARAM_VALUE 1 root->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 root->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 root->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 root->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 flag 0,2
BUF_SIZE 1 root (-1),1-s32max
BUF_SIZE 1 root (-1),1-s32max
CAPPED_DATA 1 root 1
DATA_SOURCE 2 flag $3
NS_CAPABLE 0 21
BIT_INFO 2 flag 0x0,0x2
RX_PATH
LOCK2 global &namespace_sem
LOCK2 1 &root->d_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/namespace.c mnt_clone_internal() -> clone_mnt()

Type Parameter Key Value
PARAM_VALUE 0 old 4096-ptr_max
PARAM_VALUE 2 flag 16
CAPABLE 0 20
LOCK2 global &acct_on_mutex