Lines Matching refs:new
293 static void replace_chunk(struct audit_chunk *new, struct audit_chunk *old) in replace_chunk() argument
298 new->key = old->key; in replace_chunk()
299 list_splice_init(&old->trees, &new->trees); in replace_chunk()
300 list_for_each_entry(owner, &new->trees, same_root) in replace_chunk()
301 owner->root = new; in replace_chunk()
308 new->owners[i].owner = owner; in replace_chunk()
309 new->owners[i].index = old->owners[j].index - j + i; in replace_chunk()
313 list_replace_init(&old->owners[j].list, &new->owners[i].list); in replace_chunk()
315 replace_mark_chunk(old->mark, new); in replace_chunk()
322 list_replace_rcu(&old->hash, &new->hash); in replace_chunk()
351 struct audit_chunk *new; in untag_chunk() local
377 new = alloc_chunk(size); in untag_chunk()
378 if (!new) in untag_chunk()
386 replace_chunk(new, chunk); in untag_chunk()
870 int audit_tag_tree(char *old, char *new) in audit_tag_tree() argument
878 err = kern_path(new, 0, &path2); in audit_tag_tree()