Searched refs:idmap (Results 26 - 50 of 333) sorted by relevance

1234567891011>>

/linux-master/fs/jffs2/
H A Dacl.h31 int jffs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
H A Dxattr_trusted.c28 struct mnt_idmap *idmap,
27 jffs2_trusted_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
H A Dxattr_user.c28 struct mnt_idmap *idmap,
27 jffs2_user_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
/linux-master/fs/xfs/
H A Dxfs_acl.h14 extern int xfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
H A Dxfs_itable.h11 struct mnt_idmap *idmap; member in struct:xfs_ibulk
/linux-master/fs/nfs/
H A Dnfs3_fs.h15 extern int nfs3_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/smb/server/
H A Dndr.h17 int ndr_encode_posix_acl(struct ndr *n, struct mnt_idmap *idmap,
H A Dvfs.c143 void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap, argument
148 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_WRITE))
154 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_READ))
157 if (!inode_permission(idmap, d_inode(dentry), MAY_OPEN | MAY_EXEC))
160 if (!inode_permission(idmap, d_inode(dentry->d_parent), MAY_EXEC | MAY_WRITE))
212 struct mnt_idmap *idmap; local
228 idmap = mnt_idmap(path.mnt);
230 err = vfs_mkdir(idmap, d_inode(path.dentry), dentry, mode);
234 d = lookup_one(idmap, dentry->d_name.name, dentry->d_parent,
257 static ssize_t ksmbd_vfs_getcasexattr(struct mnt_idmap *idmap, argument
421 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); local
600 struct mnt_idmap *idmap; local
883 ksmbd_vfs_xattr_len(struct mnt_idmap *idmap, struct dentry *dentry, char *xattr_name) argument
898 ksmbd_vfs_getxattr(struct mnt_idmap *idmap, struct dentry *dentry, char *xattr_name, char **xattr_buf) argument
935 ksmbd_vfs_setxattr(struct mnt_idmap *idmap, const struct path *path, const char *attr_name, void *attr_value, size_t attr_size, int flags, bool get_write) argument
1060 ksmbd_vfs_remove_xattr(struct mnt_idmap *idmap, const struct path *path, char *attr_name, bool get_write) argument
1084 struct mnt_idmap *idmap = file_mnt_idmap(filp); local
1329 ksmbd_vfs_remove_acl_xattrs(struct mnt_idmap *idmap, const struct path *path) argument
1369 ksmbd_vfs_remove_sd_xattrs(struct mnt_idmap *idmap, const struct path *path) argument
1398 ksmbd_vfs_make_xattr_posix_acl(struct mnt_idmap *idmap, struct inode *inode, int acl_type) argument
1463 ksmbd_vfs_set_sd_xattr(struct ksmbd_conn *conn, struct mnt_idmap *idmap, const struct path *path, struct smb_ntsd *pntsd, int len, bool get_write) argument
1539 ksmbd_vfs_get_sd_xattr(struct ksmbd_conn *conn, struct mnt_idmap *idmap, struct dentry *dentry, struct smb_ntsd **pntsd) argument
1614 ksmbd_vfs_set_dos_attrib_xattr(struct mnt_idmap *idmap, const struct path *path, struct xattr_dos_attrib *da, bool get_write) argument
1635 ksmbd_vfs_get_dos_attrib_xattr(struct mnt_idmap *idmap, struct dentry *dentry, struct xattr_dos_attrib *da) argument
1690 ksmbd_vfs_fill_dentry_attrs(struct ksmbd_work *work, struct mnt_idmap *idmap, struct dentry *dentry, struct ksmbd_kstat *ksmbd_kstat) argument
1737 ksmbd_vfs_casexattr_len(struct mnt_idmap *idmap, struct dentry *dentry, char *attr_name, int attr_name_len) argument
1873 ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap, struct path *path) argument
1926 ksmbd_vfs_inherit_posix_acl(struct mnt_idmap *idmap, struct path *path, struct inode *parent_inode) argument
[all...]
/linux-master/fs/btrfs/
H A Dacl.h16 int btrfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
H A Dioctl.h18 int btrfs_fileattr_set(struct mnt_idmap *idmap,
/linux-master/security/integrity/evm/
H A Devm_main.c451 * @idmap: idmap of the mount
461 static int evm_xattr_change(struct mnt_idmap *idmap, argument
497 static int evm_protect_xattr(struct mnt_idmap *idmap, argument
559 !evm_xattr_change(idmap, dentry, xattr_name, xattr_value,
574 * @idmap: idmap of the mount
587 static int evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
606 return evm_protect_xattr(idmap, dentry, xattr_name, xattr_value,
612 * @idmap
619 evm_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *xattr_name) argument
632 evm_inode_set_acl_change(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct posix_acl *kacl) argument
651 evm_inode_set_acl_change(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct posix_acl *kacl) argument
673 evm_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument
725 evm_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
878 evm_inode_post_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
885 evm_attr_change(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
908 evm_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
960 evm_inode_post_setattr(struct mnt_idmap *idmap, struct dentry *dentry, int ia_valid) argument
1091 evm_post_path_mknod(struct mnt_idmap *idmap, struct dentry *dentry) argument
[all...]
/linux-master/fs/9p/
H A Dacl.h13 struct posix_acl *v9fs_iop_get_acl(struct mnt_idmap *idmap,
15 int v9fs_iop_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/coda/
H A Dpioctl.c27 static int coda_ioctl_permission(struct mnt_idmap *idmap,
44 static int coda_ioctl_permission(struct mnt_idmap *idmap, argument
/linux-master/arch/arm64/kernel/
H A Dcpu-reset.S17 .pushsection .idmap.text, "a"
/linux-master/fs/
H A Dnamei.c279 * @idmap: idmap of the mount the inode was found from
287 * If the inode has been found through an idmapped mount the idmap of
288 * the vfsmount must be passed through @idmap. This function will then take
289 * care to map the inode according to @idmap before checking permissions.
293 static int check_acl(struct mnt_idmap *idmap, argument
306 return posix_acl_permission(idmap, inode, acl, mask);
313 int error = posix_acl_permission(idmap, inode, acl, mask);
324 * @idmap: idmap o
338 acl_permission_check(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
399 generic_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
456 do_inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
503 inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
1102 struct mnt_idmap *idmap; local
1143 safe_hardlink_source(struct mnt_idmap *idmap, struct inode *inode) argument
1186 may_linkat(struct mnt_idmap *idmap, const struct path *link) argument
1236 may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, struct inode *const inode) argument
1714 may_lookup(struct mnt_idmap *idmap, struct nameidata *nd) argument
2267 struct mnt_idmap *idmap; local
2680 lookup_one_common(struct mnt_idmap *idmap, const char *name, struct dentry *base, int len, struct qstr *this) argument
2780 lookup_one(struct mnt_idmap *idmap, const char *name, struct dentry *base, int len) argument
2811 lookup_one_unlocked(struct mnt_idmap *idmap, const char *name, struct dentry *base, int len) argument
2850 lookup_one_positive_unlocked(struct mnt_idmap *idmap, const char *name, struct dentry *base, int len) argument
2936 __check_sticky(struct mnt_idmap *idmap, struct inode *dir, struct inode *inode) argument
2969 may_delete(struct mnt_idmap *idmap, struct inode *dir, struct dentry *victim, bool isdir) argument
3021 may_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *child) argument
3158 vfs_prepare_mode(struct mnt_idmap *idmap, const struct inode *dir, umode_t mode, umode_t mask_perms, umode_t type) argument
3191 vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl) argument
3241 may_open(struct mnt_idmap *idmap, const struct path *path, int acc_mode, int flag) argument
3298 handle_truncate(struct mnt_idmap *idmap, struct file *filp) argument
3323 may_o_create(struct mnt_idmap *idmap, const struct path *dir, struct dentry *dentry, umode_t mode) argument
3414 struct mnt_idmap *idmap; local
3609 struct mnt_idmap *idmap; local
3679 vfs_tmpfile(struct mnt_idmap *idmap, const struct path *parentpath, struct file *file, umode_t mode) argument
3731 kernel_tmpfile_open(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred) argument
3984 vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
4036 struct mnt_idmap *idmap; local
4110 vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
4191 vfs_rmdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry) argument
4320 vfs_unlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode **delegated_inode) argument
4473 vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname) argument
4565 vfs_link(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode) argument
4640 struct mnt_idmap *idmap; local
[all...]
/linux-master/fs/kernfs/
H A Dkernfs-internal.h134 int kernfs_iop_permission(struct mnt_idmap *idmap,
136 int kernfs_iop_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
138 int kernfs_iop_getattr(struct mnt_idmap *idmap,
/linux-master/arch/arm/kernel/
H A Dreboot.c11 #include <asm/idmap.h>
/linux-master/fs/reiserfs/
H A Dxattr_user.c21 user_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, argument
/linux-master/fs/ext4/
H A Dxattr_trusted.c33 struct mnt_idmap *idmap,
32 ext4_xattr_trusted_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
H A Dxattr_user.c34 struct mnt_idmap *idmap,
33 ext4_xattr_user_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
H A Dxattr_hurd.c35 struct mnt_idmap *idmap,
34 ext4_xattr_hurd_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
/linux-master/fs/ext2/
H A Dxattr_user.c33 struct mnt_idmap *idmap,
32 ext2_xattr_user_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
H A Dacl.h59 extern int ext2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/fuse/
H A Dacl.c15 struct mnt_idmap *idmap,
68 struct posix_acl *fuse_get_acl(struct mnt_idmap *idmap, argument
77 return __fuse_get_acl(fc, idmap, inode, type, false);
97 int fuse_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument
14 __fuse_get_acl(struct fuse_conn *fc, struct mnt_idmap *idmap, struct inode *inode, int type, bool rcu) argument
/linux-master/include/linux/
H A Dfileattr.h56 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,

Completed in 322 milliseconds

1234567891011>>