Lines Matching refs:user_namespace

1558 	struct user_namespace *s_user_ns;
1585 static inline struct user_namespace *i_user_ns(const struct inode *inode) in i_user_ns()
1626 static inline kuid_t i_uid_into_mnt(struct user_namespace *mnt_userns, in i_uid_into_mnt()
1640 static inline vfsuid_t i_uid_into_vfsuid(struct user_namespace *mnt_userns, in i_uid_into_vfsuid()
1657 static inline bool i_uid_needs_update(struct user_namespace *mnt_userns, in i_uid_needs_update()
1675 static inline void i_uid_update(struct user_namespace *mnt_userns, in i_uid_update()
1695 static inline kgid_t i_gid_into_mnt(struct user_namespace *mnt_userns, in i_gid_into_mnt()
1709 static inline vfsgid_t i_gid_into_vfsgid(struct user_namespace *mnt_userns, in i_gid_into_vfsgid()
1726 static inline bool i_gid_needs_update(struct user_namespace *mnt_userns, in i_gid_needs_update()
1744 static inline void i_gid_update(struct user_namespace *mnt_userns, in i_gid_update()
1762 struct user_namespace *mnt_userns) in inode_fsuid_set()
1776 struct user_namespace *mnt_userns) in inode_fsgid_set()
1793 struct user_namespace *mnt_userns) in fsuidgid_has_mapping()
1795 struct user_namespace *fs_userns = sb->s_user_ns; in fsuidgid_has_mapping()
1956 bool inode_owner_or_capable(struct user_namespace *mnt_userns,
1962 int vfs_create(struct user_namespace *, struct inode *,
1964 int vfs_mkdir(struct user_namespace *, struct inode *,
1966 int vfs_mknod(struct user_namespace *, struct inode *, struct dentry *,
1968 int vfs_symlink(struct user_namespace *, struct inode *,
1970 int vfs_link(struct dentry *, struct user_namespace *, struct inode *,
1972 int vfs_rmdir(struct user_namespace *, struct inode *, struct dentry *);
1973 int vfs_unlink(struct user_namespace *, struct inode *, struct dentry *,
1988 struct user_namespace *old_mnt_userns;
1991 struct user_namespace *new_mnt_userns;
2000 static inline int vfs_whiteout(struct user_namespace *mnt_userns, in vfs_whiteout()
2007 struct file *vfs_tmpfile_open(struct user_namespace *mnt_userns,
2031 void inode_init_owner(struct user_namespace *mnt_userns, struct inode *inode,
2034 umode_t mode_strip_sgid(struct user_namespace *mnt_userns,
2152 int (*permission) (struct user_namespace *, struct inode *, int);
2157 int (*create) (struct user_namespace *, struct inode *,struct dentry *,
2161 int (*symlink) (struct user_namespace *, struct inode *,struct dentry *,
2163 int (*mkdir) (struct user_namespace *, struct inode *,struct dentry *,
2166 int (*mknod) (struct user_namespace *, struct inode *,struct dentry *,
2168 int (*rename) (struct user_namespace *, struct inode *, struct dentry *,
2170 int (*setattr) (struct user_namespace *, struct dentry *,
2172 int (*getattr) (struct user_namespace *, const struct path *,
2181 int (*tmpfile) (struct user_namespace *, struct inode *,
2183 int (*set_acl)(struct user_namespace *, struct inode *,
2185 int (*fileattr_set)(struct user_namespace *mnt_userns,
2339 static inline bool HAS_UNMAPPED_ID(struct user_namespace *mnt_userns, in HAS_UNMAPPED_ID()
2738 static inline struct user_namespace *file_mnt_user_ns(struct file *file) in file_mnt_user_ns()
2758 int do_truncate(struct user_namespace *, struct dentry *, loff_t start,
2913 int notify_change(struct user_namespace *, struct dentry *,
2915 int inode_permission(struct user_namespace *, struct inode *, int);
2916 int generic_permission(struct user_namespace *, struct inode *, int);
2927 int __check_sticky(struct user_namespace *mnt_userns, struct inode *dir,
3274 void generic_fillattr(struct user_namespace *, struct inode *, struct kstat *);
3325 extern int simple_setattr(struct user_namespace *, struct dentry *,
3327 extern int simple_getattr(struct user_namespace *, const struct path *,
3336 extern int simple_rename(struct user_namespace *, struct inode *,
3378 int may_setattr(struct user_namespace *mnt_userns, struct inode *inode,
3380 int setattr_prepare(struct user_namespace *, struct dentry *, struct iattr *);
3382 void setattr_copy(struct user_namespace *, struct inode *inode,
3541 static inline int check_sticky(struct user_namespace *mnt_userns, in check_sticky()