Searched refs:mnt_idmap (Results 1 - 25 of 307) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dxattr.h45 struct mnt_idmap *idmap, struct dentry *dentry,
75 ssize_t vfs_getxattr(struct mnt_idmap *, struct dentry *, const char *,
78 int __vfs_setxattr(struct mnt_idmap *, struct dentry *, struct inode *,
80 int __vfs_setxattr_noperm(struct mnt_idmap *, struct dentry *,
82 int __vfs_setxattr_locked(struct mnt_idmap *, struct dentry *,
85 int vfs_setxattr(struct mnt_idmap *, struct dentry *, const char *,
87 int __vfs_removexattr(struct mnt_idmap *, struct dentry *, const char *);
88 int __vfs_removexattr_locked(struct mnt_idmap *, struct dentry *,
90 int vfs_removexattr(struct mnt_idmap *, struct dentry *, const char *);
93 int vfs_getxattr_alloc(struct mnt_idmap *idma
[all...]
H A Dmnt_idmapping.h8 struct mnt_idmap;
11 extern struct mnt_idmap nop_mnt_idmap;
118 struct mnt_idmap *mnt_idmap_get(struct mnt_idmap *idmap);
119 void mnt_idmap_put(struct mnt_idmap *idmap);
121 vfsuid_t make_vfsuid(struct mnt_idmap *idmap,
124 vfsgid_t make_vfsgid(struct mnt_idmap *idmap,
127 kuid_t from_vfsuid(struct mnt_idmap *idmap,
130 kgid_t from_vfsgid(struct mnt_idmap *idmap,
145 static inline bool vfsuid_has_fsmapping(struct mnt_idmap *idma
[all...]
H A Dposix_acl.h72 int set_posix_acl(struct mnt_idmap *, struct dentry *, int,
79 int posix_acl_chmod(struct mnt_idmap *, struct dentry *, umode_t);
82 int posix_acl_update_mode(struct mnt_idmap *, struct inode *, umode_t *,
85 int simple_set_acl(struct mnt_idmap *, struct dentry *,
94 int posix_acl_permission(struct mnt_idmap *, struct inode *,
103 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
105 struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap,
107 int vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry,
112 static inline int posix_acl_chmod(struct mnt_idmap *idmap,
139 static inline int vfs_set_acl(struct mnt_idmap *idma
[all...]
H A Dmount.h19 struct mnt_idmap;
73 struct mnt_idmap *mnt_idmap; member in struct:vfsmount
76 static inline struct mnt_idmap *mnt_idmap(const struct vfsmount *mnt) function
79 return smp_load_acquire(&mnt->mnt_idmap);
/linux-master/fs/
H A Dmnt_idmapping.c19 struct mnt_idmap { struct
30 struct mnt_idmap nop_mnt_idmap = {
70 vfsuid_t make_vfsuid(struct mnt_idmap *idmap,
108 vfsgid_t make_vfsgid(struct mnt_idmap *idmap,
136 kuid_t from_vfsuid(struct mnt_idmap *idmap,
163 kgid_t from_vfsgid(struct mnt_idmap *idmap,
256 static void free_mnt_idmap(struct mnt_idmap *idmap)
269 struct mnt_idmap *alloc_mnt_idmap(struct user_namespace *mnt_userns)
271 struct mnt_idmap *idmap;
274 idmap = kzalloc(sizeof(struct mnt_idmap), GFP_KERNEL_ACCOUN
[all...]
H A Dbad_inode.c30 static int bad_inode_create(struct mnt_idmap *idmap,
54 static int bad_inode_symlink(struct mnt_idmap *idmap,
61 static int bad_inode_mkdir(struct mnt_idmap *idmap, struct inode *dir,
72 static int bad_inode_mknod(struct mnt_idmap *idmap, struct inode *dir,
78 static int bad_inode_rename2(struct mnt_idmap *idmap,
92 static int bad_inode_permission(struct mnt_idmap *idmap,
98 static int bad_inode_getattr(struct mnt_idmap *idmap,
105 static int bad_inode_setattr(struct mnt_idmap *idmap,
148 static int bad_inode_tmpfile(struct mnt_idmap *idmap,
155 static int bad_inode_set_acl(struct mnt_idmap *idma
[all...]
H A Dinternal.h19 struct mnt_idmap;
58 int may_linkat(struct mnt_idmap *idmap, const struct path *link);
198 int dentry_needs_remove_privs(struct mnt_idmap *, struct dentry *dentry);
199 bool in_group_or_capable(struct mnt_idmap *idmap,
277 ssize_t do_getxattr(struct mnt_idmap *idmap,
282 int do_setxattr(struct mnt_idmap *idmap, struct dentry *dentry,
284 int may_write_xattr(struct mnt_idmap *idmap, struct inode *inode);
287 int do_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
289 ssize_t do_get_acl(struct mnt_idmap *idmap, struct dentry *dentry,
292 static inline int do_set_acl(struct mnt_idmap *idma
[all...]
/linux-master/fs/btrfs/
H A Dacl.h12 struct mnt_idmap;
16 int btrfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
H A Dioctl.h10 struct mnt_idmap;
18 int btrfs_fileattr_set(struct mnt_idmap *idmap,
/linux-master/fs/proc/
H A Dfd.h13 extern int proc_fd_permission(struct mnt_idmap *idmap,
/linux-master/fs/jfs/
H A Djfs_acl.h11 int jfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/ocfs2/
H A Dioctl.h15 int ocfs2_fileattr_set(struct mnt_idmap *idmap,
H A Dacl.h20 int ocfs2_iop_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
H A Dfile.h52 int ocfs2_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
54 int ocfs2_getattr(struct mnt_idmap *idmap, const struct path *path,
56 int ocfs2_permission(struct mnt_idmap *idmap,
/linux-master/fs/xfs/
H A Dxfs_iops.h16 int xfs_vn_setattr_size(struct mnt_idmap *idmap,
H A Dxfs_symlink.h10 int xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
/linux-master/fs/gfs2/
H A Dacl.h16 int gfs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/smb/server/
H A Dvfs.h75 void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap,
103 ssize_t ksmbd_vfs_getxattr(struct mnt_idmap *idmap,
107 ssize_t ksmbd_vfs_casexattr_len(struct mnt_idmap *idmap,
110 int ksmbd_vfs_setxattr(struct mnt_idmap *idmap,
116 int ksmbd_vfs_remove_xattr(struct mnt_idmap *idmap,
137 struct mnt_idmap *idmap,
143 int ksmbd_vfs_remove_acl_xattrs(struct mnt_idmap *idmap,
145 int ksmbd_vfs_remove_sd_xattrs(struct mnt_idmap *idmap, const struct path *path);
147 struct mnt_idmap *idmap,
152 struct mnt_idmap *idma
[all...]
/linux-master/fs/bcachefs/
H A Dacl.h31 struct posix_acl *bch2_get_acl(struct mnt_idmap *, struct dentry *, int);
36 int bch2_set_acl(struct mnt_idmap *, struct dentry *, struct posix_acl *, int);
/linux-master/fs/coda/
H A Dcoda_linux.h49 int coda_permission(struct mnt_idmap *idmap, struct inode *inode,
52 int coda_getattr(struct mnt_idmap *, const struct path *, struct kstat *,
54 int coda_setattr(struct mnt_idmap *, struct dentry *, struct iattr *);
/linux-master/fs/ext2/
H A Dxattr_trusted.c29 struct mnt_idmap *idmap,
/linux-master/fs/f2fs/
H A Dacl.h37 extern int f2fs_set_acl(struct mnt_idmap *, struct dentry *,
/linux-master/fs/hfsplus/
H A Dxattr_trusted.c25 struct mnt_idmap *idmap,
H A Dxattr_user.c25 struct mnt_idmap *idmap,
/linux-master/fs/jffs2/
H A Dacl.h31 int jffs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,

Completed in 176 milliseconds

1234567891011>>