Lines Matching refs:r
1065 struct audit_krule *r; in audit_list_rules() local
1071 list_for_each_entry(r, &audit_rules_list[i], list) { in audit_list_rules()
1074 data = audit_krule_to_data(r); in audit_list_rules()
1386 static int update_lsm_rule(struct audit_krule *r) in update_lsm_rule() argument
1388 struct audit_entry *entry = container_of(r, struct audit_entry, rule); in update_lsm_rule()
1392 if (!security_audit_rule_known(r)) in update_lsm_rule()
1395 nentry = audit_dupe_rule(r); in update_lsm_rule()
1403 if (r->watch) in update_lsm_rule()
1404 list_del(&r->rlist); in update_lsm_rule()
1406 list_del(&r->list); in update_lsm_rule()
1408 if (r->watch || r->tree) in update_lsm_rule()
1409 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule()
1411 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()
1425 struct audit_krule *r, *n; in audit_update_lsm_rules() local
1432 list_for_each_entry_safe(r, n, &audit_rules_list[i], list) { in audit_update_lsm_rules()
1433 int res = update_lsm_rule(r); in audit_update_lsm_rules()