Lines Matching refs:owner
35 struct audit_tree *owner; member
116 if (chunk->owners[i].owner) in free_chunk()
117 put_tree(chunk->owners[i].owner); in free_chunk()
228 if (chunk->owners[n].owner == tree) in audit_tree_match()
247 struct audit_tree *owner; in untag_chunk() local
272 owner = p->owner; in untag_chunk()
278 if (owner->root == chunk) in untag_chunk()
279 owner->root = NULL; in untag_chunk()
301 if (owner->root == chunk) { in untag_chunk()
302 list_del_init(&owner->same_root); in untag_chunk()
303 owner->root = NULL; in untag_chunk()
313 s = chunk->owners[j].owner; in untag_chunk()
314 new->owners[i].owner = s; in untag_chunk()
323 list_for_each_entry(owner, &new->trees, same_root) in untag_chunk()
324 owner->root = new; in untag_chunk()
335 if (owner->root == chunk) { in untag_chunk()
336 list_del_init(&owner->same_root); in untag_chunk()
337 owner->root = NULL; in untag_chunk()
340 p->owner = NULL; in untag_chunk()
341 put_tree(owner); in untag_chunk()
374 chunk->owners[0].owner = tree; in create_chunk()
392 struct audit_tree *owner; in tag_chunk() local
407 if (old->owners[n].owner == tree) { in tag_chunk()
467 struct audit_tree *s = old->owners[n].owner; in tag_chunk()
468 p->owner = s; in tag_chunk()
476 p->owner = tree; in tag_chunk()
480 list_for_each_entry(owner, &chunk->trees, same_root) in tag_chunk()
481 owner->root = chunk; in tag_chunk()
957 struct audit_tree *owner; in evict_chunk() local
969 owner = list_entry(chunk->trees.next, in evict_chunk()
971 owner->goner = 1; in evict_chunk()
972 owner->root = NULL; in evict_chunk()
973 list_del_init(&owner->same_root); in evict_chunk()
976 kill_rules(owner); in evict_chunk()
977 list_move(&owner->list, &prune_list); in evict_chunk()
980 list_move(&owner->list, postponed); in evict_chunk()