Lines Matching refs:dentry

115 				   struct dentry *dentry, struct inode *inode,
156 if (dentry && inode->i_op->get_acl) {
157 acl = inode->i_op->get_acl(idmap, dentry, type);
595 * @dentry: dentry to check permissions on
598 * If the dentry has been found through an idmapped mount the idmap of
605 posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry,
608 struct inode *inode = d_inode(dentry);
627 ret = inode->i_op->set_acl(idmap, dentry, acl, ACL_TYPE_ACCESS);
935 set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry,
938 struct inode *inode = d_inode(dentry);
955 return inode->i_op->set_acl(idmap, dentry, acl, type);
985 posix_acl_xattr_list(struct dentry *dentry)
987 return IS_POSIXACL(d_backing_inode(dentry));
1016 int simple_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
1020 struct inode *inode = d_inode(dentry);
1080 * @dentry: the dentry based on which to set the posix acls
1089 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
1094 struct inode *inode = d_inode(dentry);
1125 error = security_inode_set_acl(idmap, dentry, acl_name, kacl);
1134 error = set_posix_acl(idmap, dentry, acl_type, kacl);
1138 fsnotify_xattr(dentry);
1139 security_inode_post_set_acl(dentry, acl_name, kacl);
1158 * @dentry: the dentry based on which to retrieve the posix acls
1167 struct dentry *dentry, const char *acl_name)
1169 struct inode *inode = d_inode(dentry);
1181 error = security_inode_get_acl(idmap, dentry, acl_name);
1190 acl = __get_acl(idmap, dentry, inode, acl_type);
1203 * @dentry: the dentry based on which to retrieve the posix acls
1210 int vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry,
1215 struct inode *inode = d_inode(dentry);
1233 error = security_inode_remove_acl(idmap, dentry, acl_name);
1242 error = set_posix_acl(idmap, dentry, acl_type, NULL);
1246 fsnotify_xattr(dentry);
1247 security_inode_post_remove_acl(idmap, dentry, acl_name);
1263 int do_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
1279 error = vfs_set_acl(idmap, dentry, acl_name, acl);
1284 ssize_t do_get_acl(struct mnt_idmap *idmap, struct dentry *dentry,
1290 acl = vfs_get_acl(idmap, dentry, acl_name);
1294 error = vfs_posix_acl_to_xattr(idmap, d_inode(dentry),