Home
last modified time | relevance | path

Searched refs:rules (Results 1 – 2 of 2) sorted by relevance

/kernel/
Daudit_watch.c43 struct list_head rules; /* anchor for krule->rlist */ member
109 WARN_ON(!list_empty(&watch->rules)); in audit_put_watch()
168 INIT_LIST_HEAD(&watch->rules); in audit_init_watch()
276 list_for_each_entry_safe(r, nextr, &owatch->rules, rlist) { in audit_update_watch()
297 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch()
329 list_for_each_entry_safe(r, nextr, &w->rules, rlist) { in audit_remove_parent_watches()
394 list_add(&krule->rlist, &watch->rules); in audit_add_to_parent()
453 if (list_empty(&watch->rules)) { in audit_remove_watch_rule()
Daudit_tree.c18 struct list_head rules; member
102 INIT_LIST_HEAD(&tree->rules); in alloc_tree()
547 list_for_each_entry_safe(rule, next, &tree->rules, rlist) { in kill_rules()
654 if (list_empty(&tree->rules) && !tree->goner) { in audit_remove_tree_rule()
812 list_add(&rule->rlist, &tree->rules); in audit_add_tree_rule()
818 list_add(&rule->rlist, &tree->rules); in audit_add_tree_rule()
865 list_del_init(&tree->rules); in audit_add_tree_rule()