Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/nsproxy.c commit_nsset() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 4096-ptr_max
NOCHECK_CALL

fs/namespace.c init_mount_tree() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 7038695084357439488
PARAM_VALUE 1 path->mnt 4096-ptr_max
NOCHECK_CALL
LOCK2 &root.dentry->d_inode->i_rwsem
LOCK2 global &namespace_sem
TYPE_LOCK (struct inode)->i_rwsem

fs/namespace.c mntns_install() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 0 fs 4096-ptr_max
PARAM_VALUE 0 fs->pwd->dentry->d_fsdata->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 fs->pwd->dentry->d_fsdata->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 fs->pwd->dentry->d_fsdata->d_inode->i_sb->s_fs_info->wbuf 0-255
PARAM_VALUE 0 fs->pwd->dentry->d_fsdata->d_inode->i_sb->s_fs_info->wbuf_verify 0-255
PARAM_VALUE 0 fs->pwd->dentry->d_fsdata->lease_session->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 fs->pwd->dentry->d_inode->i_hash.next->pprev 1-u64max
PARAM_VALUE 0 fs->pwd->dentry->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 fs->pwd->dentry->d_inode->i_sb->s_fs_info->page_eio_cnt s32min-s32max
PARAM_VALUE 0 fs->pwd.dentry 0,4096-ptr_max
PARAM_VALUE 0 fs->seq.seqcount.seqcount.dep_map->name 0-255
PARAM_VALUE 0 fs->users 1
PARAM_VALUE 1 path 8526643358623633408
PARAM_VALUE 1 path->dentry 0,4096-ptr_max
NS_CAPABLE 0 18
NS_CAPABLE 0 21
NOCHECK_CALL

fs/init.c init_chroot() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 4773885408162816000
PARAM_VALUE 1 path->dentry 4096-ptr_max
PARAM_VALUE 1 path->mnt 4096-ptr_max
NS_CAPABLE 0 18
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 1 path 5741541612383973376
PARAM_VALUE 1 path->mnt 4096-ptr_max
NOCHECK_CALL

fs/fs_struct.c validate_fs_switch() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 0 fs 4096-ptr_max
PARAM_VALUE 1 path 8915695839911391384
CAPPED_DATA 0 fs 1
NOCHECK_CALL
LOCK2 &_T->lock->alloc_lock

fs/open.c __do_sys_chroot() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 2484115035296759808
PARAM_VALUE 1 path->dentry 4096-ptr_max
PARAM_VALUE 1 path->mnt 4096-ptr_max
NS_CAPABLE 0 18
NOCHECK_CALL

fs/open.c __do_sys_chroot() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 2484115035296759808
PARAM_VALUE 1 path->dentry 4096-ptr_max
PARAM_VALUE 1 path->mnt 4096-ptr_max
NS_CAPABLE 0 18
NOCHECK_CALL

fs/open.c __do_sys_fchroot() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 2035014511176417280
PARAM_VALUE 1 path->dentry 0,4096-ptr_max
NS_CAPABLE 0 18
NOCHECK_CALL

fs/open.c __do_sys_fchroot() -> set_fs_root()

Type Parameter Key Value
PARAM_VALUE 1 path 2035014511176417280
PARAM_VALUE 1 path->dentry 0,4096-ptr_max
NS_CAPABLE 0 18
NOCHECK_CALL