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_mnt() -> mnt_set_mountpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | child_mnt | 4096-ptr_max |
| CAPPED_DATA | 2 | child_mnt | 1 |
| DATA_SOURCE | 0 | mnt | $1 |
| DATA_SOURCE | 1 | mp | $2 |
| DATA_SOURCE | 2 | child_mnt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | &root.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/namespace.c attach_recursive_mnt() -> mnt_set_mountpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | mp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | child_mnt | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 2 | child_mnt | 1 |
| DATA_SOURCE | 2 | child_mnt | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock |
fs/pnode.c propagate_mnt() -> mnt_set_mountpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | mp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | child_mnt | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt->mnt.mnt_root | 1 |
| CAPPED_DATA | 1 | mp->m_dentry | 1 |
| DATA_SOURCE | 1 | mp | $1 |
| DATA_SOURCE | 2 | child_mnt | r copy_tree |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock |