Lines Matching refs:mnt
569 root_mnt = collect_mounts(path.mnt, path.dentry); in audit_trim_trees()
579 struct vfsmount *mnt; in audit_trim_trees() local
581 list_for_each_entry(mnt, &list, mnt_list) { in audit_trim_trees()
582 if (mnt->mnt_root->d_inode == inode) { in audit_trim_trees()
600 static int is_under(struct vfsmount *mnt, struct dentry *dentry, in is_under() argument
603 if (mnt != path->mnt) { in is_under()
605 if (mnt->mnt_parent == mnt) in is_under()
607 if (mnt->mnt_parent == path->mnt) in is_under()
609 mnt = mnt->mnt_parent; in is_under()
611 dentry = mnt->mnt_mountpoint; in is_under()
640 struct vfsmount *mnt, *p; in audit_add_tree_rule() local
661 mnt = collect_mounts(path.mnt, path.dentry); in audit_add_tree_rule()
663 if (!mnt) { in audit_add_tree_rule()
667 list_add_tail(&list, &mnt->mnt_list); in audit_add_tree_rule()
677 drop_collected_mounts(mnt); in audit_add_tree_rule()
714 struct vfsmount *mnt; in audit_tag_tree() local
721 tagged = collect_mounts(path.mnt, path.dentry); in audit_tag_tree()
731 mnt = mntget(path.mnt); 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()
821 mntput(mnt); in audit_tag_tree()