Lines Matching full:paths
683 const struct path *paths; in audit_trim_trees() local
696 paths = collect_paths(&path, array, 16); in audit_trim_trees()
698 if (IS_ERR(paths)) in audit_trim_trees()
706 for (const struct path *p = paths; p->dentry; p++) { in audit_trim_trees()
716 drop_collected_paths(paths, array); in audit_trim_trees()
745 static int tag_mounts(const struct path *paths, struct audit_tree *tree) in tag_mounts() argument
747 for (const struct path *p = paths; p->dentry; p++) { in tag_mounts()
810 const struct path *paths; in audit_add_tree_rule() local
837 paths = collect_paths(&path, array, 16); in audit_add_tree_rule()
839 if (IS_ERR(paths)) { in audit_add_tree_rule()
840 err = PTR_ERR(paths); in audit_add_tree_rule()
845 err = tag_mounts(paths, tree); in audit_add_tree_rule()
846 drop_collected_paths(paths, array); in audit_add_tree_rule()
882 const struct path *paths; in audit_tag_tree() local
888 paths = collect_paths(&path2, array, 16); in audit_tag_tree()
890 if (IS_ERR(paths)) in audit_tag_tree()
891 return PTR_ERR(paths); in audit_tag_tree()
895 drop_collected_paths(paths, array); in audit_tag_tree()
924 failed = tag_mounts(paths, tree); in audit_tag_tree()
965 drop_collected_paths(paths, array); in audit_tag_tree()