Lines Matching refs:owner
31 struct audit_tree *owner; member
140 if (chunk->owners[i].owner) in free_chunk()
141 put_tree(chunk->owners[i].owner); in free_chunk()
194 if (chunk->owners[n].owner == tree) in audit_tree_match()
212 struct audit_tree *owner; in untag_chunk() local
223 owner = p->owner; in untag_chunk()
224 if (owner->root == chunk) { in untag_chunk()
225 list_del_init(&owner->same_root); in untag_chunk()
226 owner->root = NULL; in untag_chunk()
229 p->owner = NULL; in untag_chunk()
230 put_tree(owner); in untag_chunk()
246 owner = p->owner; in untag_chunk()
252 if (owner->root == chunk) in untag_chunk()
253 owner->root = NULL; in untag_chunk()
274 if (owner->root == chunk) { in untag_chunk()
275 list_del_init(&owner->same_root); in untag_chunk()
276 owner->root = NULL; in untag_chunk()
286 s = chunk->owners[j].owner; in untag_chunk()
287 new->owners[i].owner = s; in untag_chunk()
296 list_for_each_entry(owner, &new->trees, same_root) in untag_chunk()
297 owner->root = new; in untag_chunk()
307 if (owner->root == chunk) { in untag_chunk()
308 list_del_init(&owner->same_root); in untag_chunk()
309 owner->root = NULL; in untag_chunk()
312 p->owner = NULL; in untag_chunk()
313 put_tree(owner); in untag_chunk()
343 chunk->owners[0].owner = tree; in create_chunk()
360 struct audit_tree *owner; in tag_chunk() local
373 if (old->owners[n].owner == tree) { in tag_chunk()
402 struct audit_tree *s = old->owners[n].owner; in tag_chunk()
403 p->owner = s; in tag_chunk()
411 p->owner = tree; in tag_chunk()
415 list_for_each_entry(owner, &chunk->trees, same_root) in tag_chunk()
416 owner->root = chunk; in tag_chunk()
857 struct audit_tree *owner; in evict_chunk() local
867 owner = list_entry(chunk->trees.next, in evict_chunk()
869 owner->goner = 1; in evict_chunk()
870 owner->root = NULL; in evict_chunk()
871 list_del_init(&owner->same_root); in evict_chunk()
873 kill_rules(owner); in evict_chunk()
874 list_move(&owner->list, &prune_list); in evict_chunk()