Lines Matching refs:dentry
569 root_mnt = collect_mounts(path.mnt, path.dentry); in audit_trim_trees()
600 static int is_under(struct vfsmount *mnt, struct dentry *dentry, in is_under() argument
611 dentry = mnt->mnt_mountpoint; in is_under()
613 return is_subdir(dentry, path->dentry); in is_under()
661 mnt = collect_mounts(path.mnt, path.dentry); in audit_add_tree_rule()
715 struct dentry *dentry; in audit_tag_tree() local
721 tagged = collect_mounts(path.mnt, path.dentry); in audit_tag_tree()
732 dentry = dget(path.dentry); in audit_tag_tree()
735 if (dentry == tagged->mnt_root && dentry == mnt->mnt_root) in audit_tag_tree()
736 follow_up(&mnt, &dentry); in audit_tag_tree()
762 if (!is_under(mnt, dentry, &path)) { in audit_tag_tree()
820 dput(dentry); in audit_tag_tree()