Lines Matching refs:old
819 struct audit_entry *audit_dupe_rule(struct audit_krule *old) in audit_dupe_rule() argument
821 u32 fcount = old->field_count; in audit_dupe_rule()
832 new->flags = old->flags; in audit_dupe_rule()
833 new->pflags = old->pflags; in audit_dupe_rule()
834 new->listnr = old->listnr; in audit_dupe_rule()
835 new->action = old->action; in audit_dupe_rule()
837 new->mask[i] = old->mask[i]; in audit_dupe_rule()
838 new->prio = old->prio; in audit_dupe_rule()
839 new->buflen = old->buflen; in audit_dupe_rule()
840 new->inode_f = old->inode_f; in audit_dupe_rule()
841 new->field_count = old->field_count; in audit_dupe_rule()
850 new->tree = old->tree; in audit_dupe_rule()
851 memcpy(new->fields, old->fields, sizeof(struct audit_field) * fcount); in audit_dupe_rule()
868 &old->fields[i]); in audit_dupe_rule()
871 fk = kstrdup(old->filterkey, GFP_KERNEL); in audit_dupe_rule()
878 err = audit_dupe_exe(new, old); in audit_dupe_rule()
889 if (old->watch) { in audit_dupe_rule()
890 audit_get_watch(old->watch); in audit_dupe_rule()
891 new->watch = old->watch; in audit_dupe_rule()