Lines Matching refs:fs_ns
393 struct user_namespace *fs_ns; in cap_inode_getsecurity() local
408 fs_ns = inode->i_sb->s_user_ns; in cap_inode_getsecurity()
420 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
423 vfsroot = make_vfsuid(idmap, fs_ns, kroot); in cap_inode_getsecurity()
538 *fs_ns = inode->i_sb->s_user_ns; in cap_convert_nscap() local
558 rootid = from_vfsuid(idmap, fs_ns, vfsrootid); in cap_convert_nscap()
562 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap()
646 struct user_namespace *fs_ns; in get_vfs_caps_from_disk() local
653 fs_ns = inode->i_sb->s_user_ns; in get_vfs_caps_from_disk()
668 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk()
681 rootkuid = make_kuid(fs_ns, le32_to_cpu(nscaps->rootid)); in get_vfs_caps_from_disk()
688 rootvfsuid = make_vfsuid(idmap, fs_ns, rootkuid); in get_vfs_caps_from_disk()