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()
265 if (chunk->owners[n].owner == tree) in audit_tree_match()
295 struct audit_tree *owner; in replace_chunk() local
300 list_for_each_entry(owner, &new->trees, same_root) in replace_chunk()
301 owner->root = new; in replace_chunk()
303 if (!old->owners[j].owner) { in replace_chunk()
307 owner = old->owners[j].owner; in replace_chunk()
308 new->owners[i].owner = owner; in replace_chunk()
310 if (!owner) /* result of earlier fallback */ in replace_chunk()
312 get_tree(owner); in replace_chunk()
327 struct audit_tree *owner = p->owner; in remove_chunk_node() local
329 if (owner->root == chunk) { in remove_chunk_node()
330 list_del_init(&owner->same_root); in remove_chunk_node()
331 owner->root = NULL; in remove_chunk_node()
334 p->owner = NULL; in remove_chunk_node()
335 put_tree(owner); in remove_chunk_node()
344 if (chunk->owners[i].owner) in chunk_count_trees()
433 chunk->owners[0].owner = tree; in create_chunk()
479 if (old->owners[n].owner == tree) { in tag_chunk()
505 p->owner = tree; in tag_chunk()
1003 struct audit_tree *owner; in evict_chunk() local
1011 owner = list_entry(chunk->trees.next, in evict_chunk()
1013 owner->goner = 1; in evict_chunk()
1014 owner->root = NULL; in evict_chunk()
1015 list_del_init(&owner->same_root); in evict_chunk()
1018 kill_rules(audit_context(), owner); in evict_chunk()
1019 list_move(&owner->list, &prune_list); in evict_chunk()
1022 list_move(&owner->list, postponed); in evict_chunk()