Lines Matching refs:victim
569 static void prune_tree_chunks(struct audit_tree *victim, bool tagged) in prune_tree_chunks() argument
572 while (!list_empty(&victim->chunks)) { in prune_tree_chunks()
577 p = list_first_entry(&victim->chunks, struct audit_node, list); in prune_tree_chunks()
601 static void prune_one(struct audit_tree *victim) in prune_one() argument
603 prune_tree_chunks(victim, false); in prune_one()
604 put_tree(victim); in prune_one()
766 struct audit_tree *victim; in prune_tree_thread() local
768 victim = list_entry(prune_list.next, in prune_tree_thread()
770 list_del_init(&victim->list); in prune_tree_thread()
774 prune_one(victim); in prune_tree_thread()
980 struct audit_tree *victim; in audit_kill_trees() local
982 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
983 kill_rules(context, victim); in audit_kill_trees()
984 list_del_init(&victim->list); in audit_kill_trees()
988 prune_one(victim); in audit_kill_trees()