Lines Matching refs:new
295 static void replace_chunk(struct audit_chunk *new, struct audit_chunk *old) in replace_chunk() argument
300 new->key = old->key; in replace_chunk()
301 list_splice_init(&old->trees, &new->trees); in replace_chunk()
302 list_for_each_entry(owner, &new->trees, same_root) in replace_chunk()
303 owner->root = new; in replace_chunk()
310 new->owners[i].owner = owner; in replace_chunk()
311 new->owners[i].index = old->owners[j].index - j + i; in replace_chunk()
315 list_replace_init(&old->owners[j].list, &new->owners[i].list); in replace_chunk()
317 replace_mark_chunk(old->mark, new); in replace_chunk()
324 list_replace_rcu(&old->hash, &new->hash); in replace_chunk()
353 struct audit_chunk *new; in untag_chunk() local
379 new = alloc_chunk(size); in untag_chunk()
380 if (!new) in untag_chunk()
388 replace_chunk(new, chunk); in untag_chunk()
872 int audit_tag_tree(char *old, char *new) in audit_tag_tree() argument
880 err = kern_path(new, 0, &path2); in audit_tag_tree()