Lines Matching refs:user_namespace

1575 	struct user_namespace *s_user_ns;
1635 static inline kuid_t kuid_into_mnt(struct user_namespace *mnt_userns, in kuid_into_mnt()
1649 static inline kgid_t kgid_into_mnt(struct user_namespace *mnt_userns, in kgid_into_mnt()
1663 static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, in i_uid_into_mnt()
1677 static inline kgid_t i_gid_into_mnt(struct user_namespace *mnt_userns, in i_gid_into_mnt()
1691 static inline kuid_t kuid_from_mnt(struct user_namespace *mnt_userns, in kuid_from_mnt()
1705 static inline kgid_t kgid_from_mnt(struct user_namespace *mnt_userns, in kgid_from_mnt()
1723 static inline kuid_t mapped_fsuid(struct user_namespace *mnt_userns) in mapped_fsuid()
1740 static inline kgid_t mapped_fsgid(struct user_namespace *mnt_userns) in mapped_fsgid()
1754 struct user_namespace *mnt_userns) in inode_fsuid_set()
1768 struct user_namespace *mnt_userns) in inode_fsgid_set()
1785 struct user_namespace *mnt_userns) in fsuidgid_has_mapping()
1787 struct user_namespace *s_user_ns = sb->s_user_ns; in fsuidgid_has_mapping()
1935 bool inode_owner_or_capable(struct user_namespace *mnt_userns,
1941 int vfs_create(struct user_namespace *, struct inode *,
1943 int vfs_mkdir(struct user_namespace *, struct inode *,
1945 int vfs_mknod(struct user_namespace *, struct inode *, struct dentry *,
1947 int vfs_symlink(struct user_namespace *, struct inode *,
1949 int vfs_link(struct dentry *, struct user_namespace *, struct inode *,
1951 int vfs_rmdir(struct user_namespace *, struct inode *, struct dentry *);
1952 int vfs_unlink(struct user_namespace *, struct inode *, struct dentry *,
1967 struct user_namespace *old_mnt_userns;
1970 struct user_namespace *new_mnt_userns;
1979 static inline int vfs_whiteout(struct user_namespace *mnt_userns, in vfs_whiteout()
1986 struct dentry *vfs_tmpfile(struct user_namespace *mnt_userns,
2009 void inode_init_owner(struct user_namespace *mnt_userns, struct inode *inode,
2115 int (*permission) (struct user_namespace *, struct inode *, int);
2120 int (*create) (struct user_namespace *, struct inode *,struct dentry *,
2124 int (*symlink) (struct user_namespace *, struct inode *,struct dentry *,
2126 int (*mkdir) (struct user_namespace *, struct inode *,struct dentry *,
2129 int (*mknod) (struct user_namespace *, struct inode *,struct dentry *,
2131 int (*rename) (struct user_namespace *, struct inode *, struct dentry *,
2133 int (*setattr) (struct user_namespace *, struct dentry *,
2135 int (*getattr) (struct user_namespace *, const struct path *,
2144 int (*tmpfile) (struct user_namespace *, struct inode *,
2146 int (*set_acl)(struct user_namespace *, struct inode *,
2148 int (*fileattr_set)(struct user_namespace *mnt_userns,
2298 static inline bool HAS_UNMAPPED_ID(struct user_namespace *mnt_userns, in HAS_UNMAPPED_ID()
2723 static inline struct user_namespace *file_mnt_user_ns(struct file *file) in file_mnt_user_ns()
2728 int do_truncate(struct user_namespace *, struct dentry *, loff_t start,
2977 int notify_change(struct user_namespace *, struct dentry *,
2979 int inode_permission(struct user_namespace *, struct inode *, int);
2980 int generic_permission(struct user_namespace *, struct inode *, int);
2991 int __check_sticky(struct user_namespace *mnt_userns, struct inode *dir,
3327 void generic_fillattr(struct user_namespace *, struct inode *, struct kstat *);
3378 extern int simple_setattr(struct user_namespace *, struct dentry *,
3380 extern int simple_getattr(struct user_namespace *, const struct path *,
3389 extern int simple_rename(struct user_namespace *, struct inode *,
3445 int may_setattr(struct user_namespace *mnt_userns, struct inode *inode,
3447 int setattr_prepare(struct user_namespace *, struct dentry *, struct iattr *);
3449 void setattr_copy(struct user_namespace *, struct inode *inode,
3614 static inline int check_sticky(struct user_namespace *mnt_userns, in check_sticky()