Lines Matching refs:owner
35 struct audit_tree *owner; member
133 if (chunk->owners[i].owner) in free_chunk()
134 put_tree(chunk->owners[i].owner); in free_chunk()
267 if (chunk->owners[n].owner == tree) in audit_tree_match()
297 struct audit_tree *owner; in replace_chunk() local
302 list_for_each_entry(owner, &new->trees, same_root) in replace_chunk()
303 owner->root = new; in replace_chunk()
305 if (!old->owners[j].owner) { in replace_chunk()
309 owner = old->owners[j].owner; in replace_chunk()
310 new->owners[i].owner = owner; in replace_chunk()
312 if (!owner) /* result of earlier fallback */ in replace_chunk()
314 get_tree(owner); in replace_chunk()
329 struct audit_tree *owner = p->owner; in remove_chunk_node() local
331 if (owner->root == chunk) { in remove_chunk_node()
332 list_del_init(&owner->same_root); in remove_chunk_node()
333 owner->root = NULL; in remove_chunk_node()
336 p->owner = NULL; in remove_chunk_node()
337 put_tree(owner); in remove_chunk_node()
346 if (chunk->owners[i].owner) in chunk_count_trees()
435 chunk->owners[0].owner = tree; in create_chunk()
481 if (old->owners[n].owner == tree) { in tag_chunk()
507 p->owner = tree; in tag_chunk()
1008 struct audit_tree *owner; in evict_chunk() local
1016 owner = list_entry(chunk->trees.next, in evict_chunk()
1018 owner->goner = 1; in evict_chunk()
1019 owner->root = NULL; in evict_chunk()
1020 list_del_init(&owner->same_root); in evict_chunk()
1023 kill_rules(audit_context(), owner); in evict_chunk()
1024 list_move(&owner->list, &prune_list); in evict_chunk()
1027 list_move(&owner->list, postponed); in evict_chunk()