Lines Matching refs:audit_tree
8 struct audit_tree;
11 struct audit_tree { struct
33 struct audit_tree *owner; argument
74 static struct audit_tree *alloc_tree(const char *s) in alloc_tree()
76 struct audit_tree *tree; in alloc_tree()
78 tree = kmalloc(sizeof(struct audit_tree) + strlen(s) + 1, GFP_KERNEL); in alloc_tree()
92 static inline void get_tree(struct audit_tree *tree) in get_tree()
97 static inline void put_tree(struct audit_tree *tree) in put_tree()
104 const char *audit_tree_path(struct audit_tree *tree) in audit_tree_path()
200 int audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree) in audit_tree_match()
223 struct audit_tree *owner; in untag_chunk()
276 struct audit_tree *s; in untag_chunk()
317 static int create_chunk(struct inode *inode, struct audit_tree *tree) in create_chunk()
356 static int tag_chunk(struct inode *inode, struct audit_tree *tree) in tag_chunk()
359 struct audit_tree *owner; in tag_chunk()
425 struct audit_tree *s = old->owners[n].owner; in tag_chunk()
470 static void kill_rules(struct audit_tree *tree) in kill_rules()
493 static void prune_one(struct audit_tree *victim) in prune_one()
509 static void trim_marked(struct audit_tree *tree) in trim_marked()
556 struct audit_tree *tree; in audit_remove_tree_rule()
590 struct audit_tree *tree; in audit_trim_trees()
596 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
645 void audit_put_tree(struct audit_tree *tree) in audit_put_tree()
671 struct audit_tree *victim; in prune_tree_thread()
674 struct audit_tree, list); in prune_tree_thread()
709 struct audit_tree *seed = rule->tree, *tree; in audit_add_tree_rule()
804 struct audit_tree *tree; in audit_tag_tree()
807 tree = container_of(cursor.next, struct audit_tree, list); in audit_tag_tree()
843 struct audit_tree *tree; in audit_tag_tree()
845 tree = container_of(barrier.prev, struct audit_tree, list); in audit_tag_tree()
888 struct audit_tree *victim; in audit_kill_trees()
890 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
911 struct audit_tree *owner; in evict_chunk()
924 struct audit_tree, same_root); in evict_chunk()