Lines Matching refs:krule
178 int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) in audit_to_watch() argument
186 (krule->listnr != AUDIT_FILTER_EXIT && in audit_to_watch()
187 krule->listnr != AUDIT_FILTER_URING_EXIT) || in audit_to_watch()
189 krule->inode_f || krule->watch || krule->tree) in audit_to_watch()
196 krule->watch = watch; in audit_to_watch()
365 static void audit_add_to_parent(struct audit_krule *krule, in audit_add_to_parent() argument
368 struct audit_watch *w, *watch = krule->watch; in audit_add_to_parent()
383 krule->watch = watch = w; in audit_add_to_parent()
395 list_add(&krule->rlist, &watch->rules); in audit_add_to_parent()
400 int audit_add_watch(struct audit_krule *krule, struct list_head **list) in audit_add_watch() argument
402 struct audit_watch *watch = krule->watch; in audit_add_watch()
437 audit_add_to_parent(krule, parent); in audit_add_watch()
447 void audit_remove_watch_rule(struct audit_krule *krule) in audit_remove_watch_rule() argument
449 struct audit_watch *watch = krule->watch; in audit_remove_watch_rule()
452 list_del(&krule->rlist); in audit_remove_watch_rule()