Home
last modified time | relevance | path

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

/kernel/
Daudit_watch.c264 struct audit_entry *oentry, *nentry; in audit_update_watch() local
296 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch()
297 if (IS_ERR(nentry)) { in audit_update_watch()
308 audit_put_watch(nentry->rule.watch); in audit_update_watch()
310 nentry->rule.watch = nwatch; in audit_update_watch()
311 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch()
312 list_add_rcu(&nentry->list, &audit_inode_hash[h]); in audit_update_watch()
314 &nentry->rule.list); in audit_update_watch()
Dauditfilter.c1368 struct audit_entry *nentry; in update_lsm_rule() local
1374 nentry = audit_dupe_rule(r); in update_lsm_rule()
1375 if (IS_ERR(nentry)) { in update_lsm_rule()
1378 err = PTR_ERR(nentry); in update_lsm_rule()
1386 list_replace_init(&r->rlist, &nentry->rule.rlist); in update_lsm_rule()
1387 list_replace_rcu(&entry->list, &nentry->list); in update_lsm_rule()
1388 list_replace(&r->list, &nentry->rule.list); in update_lsm_rule()