Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/namespace.c commit_tree() -> mnt_ns_attached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | $0 |
| RX_PATH | |||
| LOCK2 | global &mount_lock.lock |
fs/namespace.c mnt_add_to_ns() -> mnt_ns_attached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt | 1 |
| DATA_SOURCE | 0 | mnt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &root.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/namespace.c move_from_ns() -> mnt_ns_attached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| BUF_SIZE | 0 | mnt | (-1)-s32max |
| BUF_SIZE | 0 | mnt | (-1)-s32max |
| DATA_SOURCE | 0 | mnt | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mount_lock.lock |
fs/namespace.c umount_tree() -> mnt_ns_attached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| BIT_INFO | 0 | mnt->mnt.mnt_flags | 0x8000000,0x7fffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/pnode.c move_from_ns() -> mnt_ns_attached()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | $0 |
| BIT_INFO | 0 | mnt->mnt.mnt_flags | 0x8000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem |