Lines Matching refs:fs_ns
390 struct user_namespace *fs_ns; in cap_inode_getsecurity() local
409 fs_ns = inode->i_sb->s_user_ns; in cap_inode_getsecurity()
421 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
424 kroot = mapped_kuid_fs(mnt_userns, fs_ns, kroot); in cap_inode_getsecurity()
551 *fs_ns = inode->i_sb->s_user_ns; in cap_convert_nscap() local
561 if (size == XATTR_CAPS_SZ_2 && (mnt_userns == fs_ns)) in cap_convert_nscap()
566 rootid = rootid_from_xattr(*ivalue, size, task_ns, mnt_userns, fs_ns); in cap_convert_nscap()
570 nsrootid = from_kuid(fs_ns, rootid); in cap_convert_nscap()
660 struct user_namespace *fs_ns; in get_vfs_caps_from_disk() local
667 fs_ns = inode->i_sb->s_user_ns; in get_vfs_caps_from_disk()
682 rootkuid = make_kuid(fs_ns, 0); in get_vfs_caps_from_disk()
698 rootkuid = make_kuid(fs_ns, le32_to_cpu(nscaps->rootid)); in get_vfs_caps_from_disk()
707 rootkuid = mapped_kuid_fs(mnt_userns, fs_ns, rootkuid); in get_vfs_caps_from_disk()