Lines Matching defs:rules
43 struct list_head rules; /* anchor for krule->rlist */
109 WARN_ON(!list_empty(&watch->rules));
168 INIT_LIST_HEAD(&watch->rules);
201 /* Duplicate the given audit watch. The new watch's rules list is initialized
244 /* Update inode info in audit rules based on filesystem event. */
261 /* If the update involves invalidating rules, do the inode-based
277 list_for_each_entry_safe(r, nextr, &owatch->rules, rlist) {
298 list_add(&nentry->rule.rlist, &nwatch->rules);
321 /* Remove all watches & rules associated with a parent that is going away. */
330 list_for_each_entry_safe(r, nextr, &w->rules, rlist) {
395 list_add(&krule->rlist, &watch->rules);
454 if (list_empty(&watch->rules)) {
467 /* Update watch data in audit rules based on fsnotify events. */