Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
CAPPED_DATA 0 m 1
RX_PATH
LOCK2 global &mount_lock.lock

fs/namespace.c current_chrooted() -> topmost_overmount()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mount_lock.lock

fs/namespace.c where_to_mount() -> topmost_overmount()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
LOCK2 global &mount_lock.lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 global &namespace_sem

fs/namespace.c where_to_mount() -> topmost_overmount()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
CAPPED_DATA 0 m->mnt_mountpoint 1
DATA_SOURCE 0 m r __lookup_mnt
LOCK2 global &mount_lock.lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 global &namespace_sem

fs/fs_struct.c init_userspace_fs() -> topmost_overmount()

Type Parameter Key Value