Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/namespace.c __detach_mounts() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 4 |
| BIT_INFO | 0 | mnt->mnt.mnt_flags | 0x0,0x77ffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/namespace.c attach_recursive_mnt() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_parent->mnt_ns | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock |
fs/namespace.c copy_tree() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/namespace.c create_new_namespace() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_root | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_child.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_child.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_devname | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_expire.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_expire.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_hash.next | 0 |
| PARAM_VALUE | 0 | mnt->mnt_hash.pprev | 0 |
| PARAM_VALUE | 0 | mnt->mnt_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_mountpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_mounts.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_mounts.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_mp_list.next | 0 |
| PARAM_VALUE | 0 | mnt->mnt_mp_list.pprev | 0 |
| PARAM_VALUE | 0 | mnt->mnt_next_for_sb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns_visible.next | 0 |
| PARAM_VALUE | 0 | mnt->mnt_ns_visible.pprev | 0 |
| PARAM_VALUE | 0 | mnt->mnt_parent | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_pcp | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_pprev_for_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_share.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_share.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_slave.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | how | 0 |
| NS_CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &to_path.dentry->d_inode->i_rwsem | ||
| LOCK2 | global &mount_lock.lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/namespace.c dissolve_on_fput() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns->is_anon | 1 |
| PARAM_VALUE | 0 | mnt->mnt_ns->root | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 4 |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 0 | mnt->mnt_ns->root | 1 |
| DATA_SOURCE | 0 | mnt | r real_mount |
| PARAM_COMPARE | 0 | mnt | == $0->mnt_ns->root |
| PARAM_COMPARE | 0 | mnt | == $0->mnt_ns->root |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |
fs/namespace.c do_loopback() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 1 |
| CAPPED_DATA | 0 | mnt | 1 |
| DATA_SOURCE | 0 | mnt | r __do_loopback |
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock |
fs/namespace.c do_umount() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_op->umount_begin | 0,1715867000213852160,2996636628827439104,6144602640128442368,6892802180082667520,7121838532207407104 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | how | 2 |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 0 | mnt->mnt_ns | 1 |
| CAPPED_DATA | 0 | &mnt->mnt | 1 |
| DATA_SOURCE | 0 | mnt | $0 |
| PARAM_COMPARE | 0 | mnt | != $0->mnt_parent |
| PARAM_COMPARE | 0 | mnt | != $0->mnt_parent |
| BIT_INFO | 0 | mnt->mnt.mnt_flags | 0x0,0xff7fffff |
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |
fs/namespace.c do_umount() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_op->umount_begin | 0,1715867000213852160,2996636628827439104,6144602640128442368,6892802180082667520,7121838532207407104 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mnt->mnt.mnt_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mnt->mnt_mounts.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_parent | 4096-ptr_max |
| PARAM_VALUE | 1 | how | 3 |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 0 | mnt->mnt_parent | 1 |
| CAPPED_DATA | 0 | &mnt->mnt | 1 |
| DATA_SOURCE | 0 | mnt | $0 |
| PARAM_COMPARE | 0 | &mnt->mnt_mounts | == $0->mnt_mounts.next |
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |
fs/namespace.c mark_mounts_for_expiry() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns | 0,4096-ptr_max |
| PARAM_VALUE | 1 | how | 3 |
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem | ||
| HALF_LOCKED2 | &pool->lock |
fs/namespace.c put_mnt_ns() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | how | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |
fs/namespace.c shrink_submounts() -> umount_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns | 0,4096-ptr_max |
| PARAM_VALUE | 1 | how | 3 |
| NOCHECK_CALL | |||
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |