Lines Matching refs:mnt_idmap
1359 static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, in i_uid_into_vfsuid()
1376 static inline bool i_uid_needs_update(struct mnt_idmap *idmap, in i_uid_needs_update()
1394 static inline void i_uid_update(struct mnt_idmap *idmap, in i_uid_update()
1411 static inline vfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, in i_gid_into_vfsgid()
1428 static inline bool i_gid_needs_update(struct mnt_idmap *idmap, in i_gid_needs_update()
1446 static inline void i_gid_update(struct mnt_idmap *idmap, in i_gid_update()
1464 struct mnt_idmap *idmap) in inode_fsuid_set()
1478 struct mnt_idmap *idmap) in inode_fsgid_set()
1495 struct mnt_idmap *idmap) in fsuidgid_has_mapping()
1701 bool inode_owner_or_capable(struct mnt_idmap *idmap,
1707 int vfs_create(struct mnt_idmap *, struct inode *,
1709 int vfs_mkdir(struct mnt_idmap *, struct inode *,
1711 int vfs_mknod(struct mnt_idmap *, struct inode *, struct dentry *,
1713 int vfs_symlink(struct mnt_idmap *, struct inode *,
1715 int vfs_link(struct dentry *, struct mnt_idmap *, struct inode *,
1717 int vfs_rmdir(struct mnt_idmap *, struct inode *, struct dentry *);
1718 int vfs_unlink(struct mnt_idmap *, struct inode *, struct dentry *,
1733 struct mnt_idmap *old_mnt_idmap;
1736 struct mnt_idmap *new_mnt_idmap;
1745 static inline int vfs_whiteout(struct mnt_idmap *idmap, in vfs_whiteout()
1752 struct file *kernel_tmpfile_open(struct mnt_idmap *idmap,
1779 void inode_init_owner(struct mnt_idmap *idmap, struct inode *inode,
1782 umode_t mode_strip_sgid(struct mnt_idmap *idmap,
1907 int (*permission) (struct mnt_idmap *, struct inode *, int);
1912 int (*create) (struct mnt_idmap *, struct inode *,struct dentry *,
1916 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,
1918 int (*mkdir) (struct mnt_idmap *, struct inode *,struct dentry *,
1921 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,
1923 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *,
1925 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *);
1926 int (*getattr) (struct mnt_idmap *, const struct path *,
1935 int (*tmpfile) (struct mnt_idmap *, struct inode *,
1937 struct posix_acl *(*get_acl)(struct mnt_idmap *, struct dentry *,
1939 int (*set_acl)(struct mnt_idmap *, struct dentry *,
1941 int (*fileattr_set)(struct mnt_idmap *idmap,
2101 static inline bool HAS_UNMAPPED_ID(struct mnt_idmap *idmap, in HAS_UNMAPPED_ID()
2412 static inline struct mnt_idmap *file_mnt_idmap(struct file *file) in file_mnt_idmap()
2414 return mnt_idmap(file->f_path.mnt); in file_mnt_idmap()
2427 return mnt_idmap(mnt) != &nop_mnt_idmap; in is_idmapped_mnt()
2431 int do_truncate(struct mnt_idmap *, struct dentry *, loff_t start,
2606 int notify_change(struct mnt_idmap *, struct dentry *,
2608 int inode_permission(struct mnt_idmap *, struct inode *, int);
2609 int generic_permission(struct mnt_idmap *, struct inode *, int);
2617 return inode_permission(mnt_idmap(path->mnt), in path_permission()
2620 int __check_sticky(struct mnt_idmap *idmap, struct inode *dir,
2856 extern int setattr_should_drop_suidgid(struct mnt_idmap *, struct inode *);
2858 int setattr_should_drop_sgid(struct mnt_idmap *idmap,
3016 void generic_fillattr(struct mnt_idmap *, u32, struct inode *, struct kstat *);
3066 extern int simple_setattr(struct mnt_idmap *, struct dentry *,
3068 extern int simple_getattr(struct mnt_idmap *, const struct path *,
3079 extern int simple_rename(struct mnt_idmap *, struct inode *,
3137 int may_setattr(struct mnt_idmap *idmap, struct inode *inode,
3139 int setattr_prepare(struct mnt_idmap *, struct dentry *, struct iattr *);
3141 void setattr_copy(struct mnt_idmap *, struct inode *inode,
3308 static inline int check_sticky(struct mnt_idmap *idmap, in check_sticky()