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 bool 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()
495 static void prune_one(struct audit_tree *victim) in prune_one()
511 static void trim_marked(struct audit_tree *tree) in trim_marked()
558 struct audit_tree *tree; in audit_remove_tree_rule()
592 struct audit_tree *tree; in audit_trim_trees()
598 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
647 void audit_put_tree(struct audit_tree *tree) in audit_put_tree()
673 struct audit_tree *victim; in prune_tree_thread()
676 struct audit_tree, list); in prune_tree_thread()
711 struct audit_tree *seed = rule->tree, *tree; in audit_add_tree_rule()
806 struct audit_tree *tree; in audit_tag_tree()
809 tree = container_of(cursor.next, struct audit_tree, list); in audit_tag_tree()
845 struct audit_tree *tree; in audit_tag_tree()
847 tree = container_of(barrier.prev, struct audit_tree, list); in audit_tag_tree()
890 struct audit_tree *victim; in audit_kill_trees()
892 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
913 struct audit_tree *owner; in evict_chunk()
926 struct audit_tree, same_root); in evict_chunk()