Lines Matching refs:owner
33 struct audit_tree *owner; member
114 if (chunk->owners[i].owner) in free_chunk()
115 put_tree(chunk->owners[i].owner); in free_chunk()
204 if (chunk->owners[n].owner == tree) in audit_tree_match()
223 struct audit_tree *owner; in untag_chunk() local
242 owner = p->owner; in untag_chunk()
248 if (owner->root == chunk) in untag_chunk()
249 owner->root = NULL; in untag_chunk()
270 if (owner->root == chunk) { in untag_chunk()
271 list_del_init(&owner->same_root); in untag_chunk()
272 owner->root = NULL; in untag_chunk()
282 s = chunk->owners[j].owner; in untag_chunk()
283 new->owners[i].owner = s; in untag_chunk()
292 list_for_each_entry(owner, &new->trees, same_root) in untag_chunk()
293 owner->root = new; in untag_chunk()
303 if (owner->root == chunk) { in untag_chunk()
304 list_del_init(&owner->same_root); in untag_chunk()
305 owner->root = NULL; in untag_chunk()
308 p->owner = NULL; in untag_chunk()
309 put_tree(owner); in untag_chunk()
341 chunk->owners[0].owner = tree; in create_chunk()
359 struct audit_tree *owner; in tag_chunk() local
373 if (old->owners[n].owner == tree) { in tag_chunk()
425 struct audit_tree *s = old->owners[n].owner; in tag_chunk()
426 p->owner = s; in tag_chunk()
434 p->owner = tree; in tag_chunk()
438 list_for_each_entry(owner, &chunk->trees, same_root) in tag_chunk()
439 owner->root = chunk; in tag_chunk()
911 struct audit_tree *owner; in evict_chunk() local
923 owner = list_entry(chunk->trees.next, in evict_chunk()
925 owner->goner = 1; in evict_chunk()
926 owner->root = NULL; in evict_chunk()
927 list_del_init(&owner->same_root); in evict_chunk()
930 kill_rules(owner); in evict_chunk()
931 list_move(&owner->list, &prune_list); in evict_chunk()
934 list_move(&owner->list, postponed); in evict_chunk()