Lines Matching refs:audit_tree
10 struct audit_tree;
13 struct audit_tree { struct
35 struct audit_tree *owner; argument
93 static struct audit_tree *alloc_tree(const char *s) in alloc_tree()
95 struct audit_tree *tree; in alloc_tree()
97 tree = kmalloc(sizeof(struct audit_tree) + strlen(s) + 1, GFP_KERNEL); in alloc_tree()
111 static inline void get_tree(struct audit_tree *tree) in get_tree()
116 static inline void put_tree(struct audit_tree *tree) in put_tree()
123 const char *audit_tree_path(struct audit_tree *tree) in audit_tree_path()
263 bool audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree) in audit_tree_match()
297 struct audit_tree *owner; in replace_chunk()
329 struct audit_tree *owner = p->owner; in remove_chunk_node()
399 static int create_chunk(struct inode *inode, struct audit_tree *tree) in create_chunk()
460 static int tag_chunk(struct inode *inode, struct audit_tree *tree) in tag_chunk()
544 static void kill_rules(struct audit_context *context, struct audit_tree *tree) in kill_rules()
571 static void prune_tree_chunks(struct audit_tree *victim, bool tagged) in prune_tree_chunks()
604 static void prune_one(struct audit_tree *victim) in prune_one()
611 static void trim_marked(struct audit_tree *tree) in trim_marked()
651 struct audit_tree *tree; in audit_remove_tree_rule()
686 struct audit_tree *tree; in audit_trim_trees()
692 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
742 void audit_put_tree(struct audit_tree *tree) in audit_put_tree()
768 struct audit_tree *victim; in prune_tree_thread()
771 struct audit_tree, list); in prune_tree_thread()
804 struct audit_tree *seed = rule->tree, *tree; in audit_add_tree_rule()
899 struct audit_tree *tree; in audit_tag_tree()
902 tree = container_of(cursor.next, struct audit_tree, list); in audit_tag_tree()
938 struct audit_tree *tree; in audit_tag_tree()
940 tree = container_of(barrier.prev, struct audit_tree, list); in audit_tag_tree()
985 struct audit_tree *victim; in audit_kill_trees()
987 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
1008 struct audit_tree *owner; in evict_chunk()
1017 struct audit_tree, same_root); in evict_chunk()