Lines Matching defs:old
282 struct audit_chunk *old;
285 old = mark_chunk(mark);
289 if (old)
290 old->mark = NULL;
293 static void replace_chunk(struct audit_chunk *new, struct audit_chunk *old)
298 new->key = old->key;
299 list_splice_init(&old->trees, &new->trees);
302 for (i = j = 0; j < old->count; i++, j++) {
303 if (!old->owners[j].owner) {
307 owner = old->owners[j].owner;
309 new->owners[i].index = old->owners[j].index - j + i;
313 list_replace_init(&old->owners[j].list, &new->owners[i].list);
315 replace_mark_chunk(old->mark, new);
322 list_replace_rcu(&old->hash, &new->hash);
461 struct audit_chunk *chunk, *old;
477 old = mark_chunk(mark);
478 for (n = 0; n < old->count; n++) {
479 if (old->owners[n].owner == tree) {
488 chunk = alloc_chunk(old->count + 1);
516 replace_chunk(chunk, old);
520 audit_mark_put_chunk(old);
870 int audit_tag_tree(char *old, char *new)
886 err = kern_path(old, 0, &path1);