Home
last modified time | relevance | path

Searched refs:mnt_idmap (Results 1 – 25 of 261) sorted by relevance

1234567891011

/fs/smb/server/
A Dvfs.h76 void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap,
104 ssize_t ksmbd_vfs_getxattr(struct mnt_idmap *idmap,
108 ssize_t ksmbd_vfs_casexattr_len(struct mnt_idmap *idmap,
111 int ksmbd_vfs_setxattr(struct mnt_idmap *idmap,
117 int ksmbd_vfs_remove_xattr(struct mnt_idmap *idmap,
142 struct mnt_idmap *idmap,
147 int ksmbd_vfs_remove_acl_xattrs(struct mnt_idmap *idmap,
151 struct mnt_idmap *idmap,
156 struct mnt_idmap *idmap,
166 int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap,
[all …]
A Dsmbacl.h84 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd,
86 int build_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd,
105 static inline uid_t posix_acl_uid_translate(struct mnt_idmap *idmap, in posix_acl_uid_translate()
117 static inline gid_t posix_acl_gid_translate(struct mnt_idmap *idmap, in posix_acl_gid_translate()
A Dvfs.c213 struct mnt_idmap *idmap; in ksmbd_vfs_mkdir()
229 idmap = mnt_idmap(path.mnt); in ksmbd_vfs_mkdir()
597 struct mnt_idmap *idmap; in ksmbd_vfs_remove_file()
609 idmap = mnt_idmap(path->mnt); in ksmbd_vfs_remove_file()
773 rd.old_mnt_idmap = mnt_idmap(old_path->mnt), in ksmbd_vfs_rename()
776 rd.new_mnt_idmap = mnt_idmap(new_path.mnt), in ksmbd_vfs_rename()
931 int ksmbd_vfs_setxattr(struct mnt_idmap *idmap, in ksmbd_vfs_setxattr()
1080 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink()
1469 struct mnt_idmap *idmap, in ksmbd_vfs_set_sd_xattr()
1536 struct mnt_idmap *idmap, in ksmbd_vfs_get_sd_xattr()
[all …]
/fs/
A Dmnt_idmapping.c20 struct mnt_idmap { struct
31 struct mnt_idmap nop_mnt_idmap = { argument
40 struct mnt_idmap invalid_mnt_idmap = {
80 vfsuid_t make_vfsuid(struct mnt_idmap *idmap, in make_vfsuid()
120 vfsgid_t make_vfsgid(struct mnt_idmap *idmap, in make_vfsgid()
150 kuid_t from_vfsuid(struct mnt_idmap *idmap, in from_vfsuid()
179 kgid_t from_vfsgid(struct mnt_idmap *idmap, in from_vfsgid()
274 static void free_mnt_idmap(struct mnt_idmap *idmap) in free_mnt_idmap()
289 struct mnt_idmap *idmap; in alloc_mnt_idmap()
315 struct mnt_idmap *mnt_idmap_get(struct mnt_idmap *idmap) in mnt_idmap_get()
[all …]
A Dinternal.h19 struct mnt_idmap;
59 int may_linkat(struct mnt_idmap *idmap, const struct path *link);
66 int vfs_tmpfile(struct mnt_idmap *idmap,
208 bool in_group_or_capable(struct mnt_idmap *idmap,
295 int may_write_xattr(struct mnt_idmap *idmap, struct inode *inode);
298 int do_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
300 ssize_t do_get_acl(struct mnt_idmap *idmap, struct dentry *dentry,
303 static inline int do_set_acl(struct mnt_idmap *idmap, in do_set_acl()
309 static inline ssize_t do_get_acl(struct mnt_idmap *idmap, in do_get_acl()
323 struct mnt_idmap *mnt_idmap_get(struct mnt_idmap *idmap);
[all …]
A Dbad_inode.c30 static int bad_inode_create(struct mnt_idmap *idmap, in bad_inode_create()
54 static int bad_inode_symlink(struct mnt_idmap *idmap, in bad_inode_symlink()
61 static struct dentry *bad_inode_mkdir(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mkdir()
72 static int bad_inode_mknod(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mknod()
78 static int bad_inode_rename2(struct mnt_idmap *idmap, in bad_inode_rename2()
92 static int bad_inode_permission(struct mnt_idmap *idmap, in bad_inode_permission()
98 static int bad_inode_getattr(struct mnt_idmap *idmap, in bad_inode_getattr()
105 static int bad_inode_setattr(struct mnt_idmap *idmap, in bad_inode_setattr()
148 static int bad_inode_tmpfile(struct mnt_idmap *idmap, in bad_inode_tmpfile()
155 static int bad_inode_set_acl(struct mnt_idmap *idmap, in bad_inode_set_acl()
A Dattr.c33 int setattr_should_drop_sgid(struct mnt_idmap *idmap, in setattr_should_drop_sgid()
63 int setattr_should_drop_suidgid(struct mnt_idmap *idmap, in setattr_should_drop_suidgid()
94 static bool chown_ok(struct mnt_idmap *idmap, in chown_ok()
121 static bool chgrp_ok(struct mnt_idmap *idmap, in chgrp_ok()
161 int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry, in setattr_prepare()
340 void setattr_copy(struct mnt_idmap *idmap, struct inode *inode, in setattr_copy()
371 int may_setattr(struct mnt_idmap *idmap, struct inode *inode, in may_setattr()
426 int notify_change(struct mnt_idmap *idmap, struct dentry *dentry, in notify_change()
A Dxattr.c97 int may_write_xattr(struct mnt_idmap *idmap, struct inode *inode) in may_write_xattr()
113 xattr_permission(struct mnt_idmap *idmap, struct inode *inode, in xattr_permission()
184 __vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in __vfs_setxattr()
222 int __vfs_setxattr_noperm(struct mnt_idmap *idmap, in __vfs_setxattr_noperm()
304 vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_setxattr()
338 xattr_getsecurity(struct mnt_idmap *idmap, struct inode *inode, in xattr_getsecurity()
428 vfs_getxattr(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_getxattr()
534 __vfs_removexattr_locked(struct mnt_idmap *idmap, in __vfs_removexattr_locked()
665 error = do_setxattr(mnt_idmap(path.mnt), path.dentry, ctx); in filename_setxattr()
769 do_getxattr(struct mnt_idmap *idmap, struct dentry *d, in do_getxattr()
[all …]
A Dposix_acl.c114 static struct posix_acl *__get_acl(struct mnt_idmap *idmap, in __get_acl()
374 posix_acl_permission(struct mnt_idmap *idmap, struct inode *inode, in posix_acl_permission()
604 posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, in posix_acl_chmod()
705 int posix_acl_update_mode(struct mnt_idmap *idmap, in posix_acl_update_mode()
886 static ssize_t vfs_posix_acl_to_xattr(struct mnt_idmap *idmap, in vfs_posix_acl_to_xattr()
934 set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry, in set_posix_acl()
1015 int simple_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in simple_set_acl()
1054 static int vfs_set_acl_idmapped_mnt(struct mnt_idmap *idmap, in vfs_set_acl_idmapped_mnt()
1088 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_set_acl()
1165 struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, in vfs_get_acl()
[all …]
A Dinit.c159 error = vfs_mknod(mnt_idmap(path.mnt), path.dentry->d_inode, in init_mknod()
169 struct mnt_idmap *idmap; in init_link()
184 idmap = mnt_idmap(new_path.mnt); in init_link()
211 error = vfs_symlink(mnt_idmap(path.mnt), path.dentry->d_inode, in init_symlink()
234 dentry = vfs_mkdir(mnt_idmap(path.mnt), path.dentry->d_inode, in init_mkdir()
A Dnamei.c1170 struct mnt_idmap *idmap; in may_follow_link()
1176 idmap = mnt_idmap(nd->path.mnt); in may_follow_link()
2440 struct mnt_idmap *idmap; in link_path_walk()
3614 struct mnt_idmap *idmap; in lookup_open()
3665 idmap = mnt_idmap(nd->path.mnt); in lookup_open()
3846 struct mnt_idmap *idmap; in do_open()
3859 idmap = mnt_idmap(nd->path.mnt); in do_open()
4262 struct mnt_idmap *idmap; in do_mknodat()
4282 idmap = mnt_idmap(path.mnt); in do_mknodat()
4881 struct mnt_idmap *idmap; in do_linkat()
[all …]
/fs/smb/client/
A Dcifsfs.h52 extern int cifs_create(struct mnt_idmap *, struct inode *,
60 extern int cifs_mknod(struct mnt_idmap *, struct inode *, struct dentry *,
62 extern struct dentry *cifs_mkdir(struct mnt_idmap *, struct inode *, struct dentry *,
65 extern int cifs_rename2(struct mnt_idmap *, struct inode *,
74 extern int cifs_getattr(struct mnt_idmap *, const struct path *,
76 extern int cifs_setattr(struct mnt_idmap *, struct dentry *,
120 extern int cifs_symlink(struct mnt_idmap *idmap, struct inode *inode,
/fs/minix/
A Dnamei.c36 static int minix_mknod(struct mnt_idmap *idmap, struct inode *dir, in minix_mknod()
53 static int minix_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in minix_tmpfile()
66 static int minix_create(struct mnt_idmap *idmap, struct inode *dir, in minix_create()
72 static int minix_symlink(struct mnt_idmap *idmap, struct inode *dir, in minix_symlink()
107 static struct dentry *minix_mkdir(struct mnt_idmap *idmap, struct inode *dir, in minix_mkdir()
176 static int minix_rename(struct mnt_idmap *idmap, in minix_rename()
/fs/coda/
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 *);
/fs/ramfs/
A Dinode.c98 ramfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mknod()
122 static struct dentry *ramfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mkdir()
131 static int ramfs_create(struct mnt_idmap *idmap, struct inode *dir, in ramfs_create()
137 static int ramfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ramfs_symlink()
168 static int ramfs_tmpfile(struct mnt_idmap *idmap, in ramfs_tmpfile()
/fs/ocfs2/
A Dfile.h53 int ocfs2_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
55 int ocfs2_getattr(struct mnt_idmap *idmap, const struct path *path,
57 int ocfs2_permission(struct mnt_idmap *idmap,
/fs/ext2/
A Dnamei.c102 static int ext2_create (struct mnt_idmap * idmap, in ext2_create()
122 static int ext2_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in ext2_tmpfile()
136 static int ext2_mknod (struct mnt_idmap * idmap, struct inode * dir, in ext2_mknod()
157 static int ext2_symlink (struct mnt_idmap * idmap, struct inode * dir, in ext2_symlink()
228 static struct dentry *ext2_mkdir(struct mnt_idmap * idmap, in ext2_mkdir()
318 static int ext2_rename (struct mnt_idmap * idmap, in ext2_rename()
/fs/ufs/
A Dnamei.c72 static int ufs_create (struct mnt_idmap * idmap, in ufs_create()
89 static int ufs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ufs_mknod()
109 static int ufs_symlink (struct mnt_idmap * idmap, struct inode * dir, in ufs_symlink()
169 static struct dentry *ufs_mkdir(struct mnt_idmap * idmap, struct inode * dir, in ufs_mkdir()
244 static int ufs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in ufs_rename()
/fs/overlayfs/
A Dinode.c21 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_setattr()
156 int ovl_getattr(struct mnt_idmap *idmap, const struct path *path, in ovl_getattr()
288 int ovl_permission(struct mnt_idmap *idmap, in ovl_permission()
319 err = inode_permission(mnt_idmap(realpath.mnt), realinode, mask); in ovl_permission()
348 struct mnt_idmap *idmap, in ovl_idmap_posix_acl()
399 struct mnt_idmap *idmap; in ovl_get_acl_path()
402 idmap = mnt_idmap(path->mnt); in ovl_get_acl_path()
440 struct posix_acl *do_ovl_get_acl(struct mnt_idmap *idmap, in do_ovl_get_acl()
499 real_acl = vfs_get_acl(mnt_idmap(realpath.mnt), realdentry, in ovl_set_or_remove_acl()
535 int ovl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_set_acl()
[all …]
/fs/xfs/
A Dxfs_iops.c172 struct mnt_idmap *idmap, in xfs_generic_create()
282 struct mnt_idmap *idmap, in xfs_vn_mknod()
293 struct mnt_idmap *idmap, in xfs_vn_create()
304 struct mnt_idmap *idmap, in xfs_vn_mkdir()
429 struct mnt_idmap *idmap, in xfs_vn_symlink()
472 struct mnt_idmap *idmap, in xfs_vn_rename()
685 struct mnt_idmap *idmap, in xfs_vn_getattr()
760 struct mnt_idmap *idmap, in xfs_vn_change_ok()
783 struct mnt_idmap *idmap, in xfs_setattr_nonsize()
912 struct mnt_idmap *idmap, in xfs_setattr_size()
[all …]
/fs/ecryptfs/
A Dinode.c264 ecryptfs_create(struct mnt_idmap *idmap, in ecryptfs_create()
469 static int ecryptfs_symlink(struct mnt_idmap *idmap, in ecryptfs_symlink()
567 ecryptfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ecryptfs_mknod()
593 ecryptfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in ecryptfs_rename()
885 ecryptfs_permission(struct mnt_idmap *idmap, struct inode *inode, in ecryptfs_permission()
905 static int ecryptfs_setattr(struct mnt_idmap *idmap, in ecryptfs_setattr()
993 static int ecryptfs_getattr_link(struct mnt_idmap *idmap, in ecryptfs_getattr_link()
1019 static int ecryptfs_getattr(struct mnt_idmap *idmap, in ecryptfs_getattr()
1132 static int ecryptfs_fileattr_set(struct mnt_idmap *idmap, in ecryptfs_fileattr_set()
1151 static int ecryptfs_set_acl(struct mnt_idmap *idmap, in ecryptfs_set_acl()
[all …]
/fs/affs/
A Daffs.h169 extern int affs_create(struct mnt_idmap *idmap, struct inode *dir,
171 extern struct dentry *affs_mkdir(struct mnt_idmap *idmap, struct inode *dir,
176 extern int affs_symlink(struct mnt_idmap *idmap,
179 extern int affs_rename2(struct mnt_idmap *idmap,
187 extern int affs_notify_change(struct mnt_idmap *idmap,
/fs/jffs2/
A Ddir.c27 static int jffs2_create (struct mnt_idmap *, struct inode *,
33 static int jffs2_symlink (struct mnt_idmap *, struct inode *,
35 static struct dentry *jffs2_mkdir (struct mnt_idmap *, struct inode *,struct dentry *,
38 static int jffs2_mknod (struct mnt_idmap *, struct inode *,struct dentry *,
40 static int jffs2_rename (struct mnt_idmap *, struct inode *,
163 static int jffs2_create(struct mnt_idmap *idmap, struct inode *dir_i, in jffs2_create()
285 static int jffs2_symlink (struct mnt_idmap *idmap, struct inode *dir_i, in jffs2_symlink()
449 static struct dentry *jffs2_mkdir (struct mnt_idmap *idmap, struct inode *dir_i, in jffs2_mkdir()
623 static int jffs2_mknod (struct mnt_idmap *idmap, struct inode *dir_i, in jffs2_mknod()
772 static int jffs2_rename (struct mnt_idmap *idmap, in jffs2_rename()
/fs/kernfs/
A Dkernfs-internal.h173 int kernfs_iop_permission(struct mnt_idmap *idmap,
175 int kernfs_iop_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
177 int kernfs_iop_getattr(struct mnt_idmap *idmap,
/fs/btrfs/
A Dacl.h14 struct mnt_idmap;
18 int btrfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,

Completed in 64 milliseconds

1234567891011