Lines Matching refs:mnt_idmap
1493 static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, in i_uid_into_vfsuid()
1510 static inline bool i_uid_needs_update(struct mnt_idmap *idmap, in i_uid_needs_update()
1528 static inline void i_uid_update(struct mnt_idmap *idmap, in i_uid_update()
1545 static inline vfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, in i_gid_into_vfsgid()
1562 static inline bool i_gid_needs_update(struct mnt_idmap *idmap, in i_gid_needs_update()
1580 static inline void i_gid_update(struct mnt_idmap *idmap, in i_gid_update()
1598 struct mnt_idmap *idmap) in inode_fsuid_set()
1612 struct mnt_idmap *idmap) in inode_fsgid_set()
1629 struct mnt_idmap *idmap) in fsuidgid_has_mapping()
1974 bool inode_owner_or_capable(struct mnt_idmap *idmap,
1980 int vfs_create(struct mnt_idmap *, struct inode *,
1982 struct dentry *vfs_mkdir(struct mnt_idmap *, struct inode *,
1984 int vfs_mknod(struct mnt_idmap *, struct inode *, struct dentry *,
1986 int vfs_symlink(struct mnt_idmap *, struct inode *,
1988 int vfs_link(struct dentry *, struct mnt_idmap *, struct inode *,
1990 int vfs_rmdir(struct mnt_idmap *, struct inode *, struct dentry *);
1991 int vfs_unlink(struct mnt_idmap *, struct inode *, struct dentry *,
2006 struct mnt_idmap *old_mnt_idmap;
2009 struct mnt_idmap *new_mnt_idmap;
2018 static inline int vfs_whiteout(struct mnt_idmap *idmap, in vfs_whiteout()
2025 struct file *kernel_tmpfile_open(struct mnt_idmap *idmap,
2052 void inode_init_owner(struct mnt_idmap *idmap, struct inode *inode,
2055 umode_t mode_strip_sgid(struct mnt_idmap *idmap,
2057 bool in_group_or_capable(struct mnt_idmap *idmap,
2201 int (*permission) (struct mnt_idmap *, struct inode *, int);
2206 int (*create) (struct mnt_idmap *, struct inode *,struct dentry *,
2210 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,
2212 struct dentry *(*mkdir) (struct mnt_idmap *, struct inode *,
2215 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,
2217 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *,
2219 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *);
2220 int (*getattr) (struct mnt_idmap *, const struct path *,
2229 int (*tmpfile) (struct mnt_idmap *, struct inode *,
2231 struct posix_acl *(*get_acl)(struct mnt_idmap *, struct dentry *,
2233 int (*set_acl)(struct mnt_idmap *, struct dentry *,
2235 int (*fileattr_set)(struct mnt_idmap *idmap,
2404 static inline bool HAS_UNMAPPED_ID(struct mnt_idmap *idmap, in HAS_UNMAPPED_ID()
2775 static inline struct mnt_idmap *file_mnt_idmap(const struct file *file) in file_mnt_idmap()
2777 return mnt_idmap(file->f_path.mnt); in file_mnt_idmap()
2790 return mnt_idmap(mnt) != &nop_mnt_idmap; in is_idmapped_mnt()
2794 int do_truncate(struct mnt_idmap *, struct dentry *, loff_t start,
3003 int notify_change(struct mnt_idmap *, struct dentry *,
3005 int inode_permission(struct mnt_idmap *, struct inode *, int);
3006 int generic_permission(struct mnt_idmap *, struct inode *, int);
3014 return inode_permission(mnt_idmap(path->mnt), in path_permission()
3017 int __check_sticky(struct mnt_idmap *idmap, struct inode *dir,
3313 extern int setattr_should_drop_suidgid(struct mnt_idmap *, struct inode *);
3316 int setattr_should_drop_sgid(struct mnt_idmap *idmap,
3474 void generic_fillattr(struct mnt_idmap *, u32, struct inode *, struct kstat *);
3526 extern int simple_setattr(struct mnt_idmap *, struct dentry *,
3528 extern int simple_getattr(struct mnt_idmap *, const struct path *,
3539 extern int simple_rename(struct mnt_idmap *, struct inode *,
3660 int may_setattr(struct mnt_idmap *idmap, struct inode *inode,
3662 int setattr_prepare(struct mnt_idmap *, struct dentry *, struct iattr *);
3664 void setattr_copy(struct mnt_idmap *, struct inode *inode,
3837 static inline int check_sticky(struct mnt_idmap *idmap, in check_sticky()