Lines Matching refs:audit_tree
10 struct audit_tree;
13 struct audit_tree { struct
35 struct audit_tree *owner; argument
76 static struct audit_tree *alloc_tree(const char *s) in alloc_tree()
78 struct audit_tree *tree; in alloc_tree()
80 tree = kmalloc(sizeof(struct audit_tree) + strlen(s) + 1, GFP_KERNEL); in alloc_tree()
94 static inline void get_tree(struct audit_tree *tree) in get_tree()
99 static inline void put_tree(struct audit_tree *tree) in put_tree()
106 const char *audit_tree_path(struct audit_tree *tree) in audit_tree_path()
224 bool audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree) in audit_tree_match()
247 struct audit_tree *owner; in untag_chunk()
307 struct audit_tree *s; in untag_chunk()
350 static int create_chunk(struct inode *inode, struct audit_tree *tree) in create_chunk()
389 static int tag_chunk(struct inode *inode, struct audit_tree *tree) in tag_chunk()
392 struct audit_tree *owner; in tag_chunk()
467 struct audit_tree *s = old->owners[n].owner; in tag_chunk()
514 static void kill_rules(struct audit_tree *tree) in kill_rules()
539 static void prune_one(struct audit_tree *victim) in prune_one()
555 static void trim_marked(struct audit_tree *tree) in trim_marked()
602 struct audit_tree *tree; in audit_remove_tree_rule()
637 struct audit_tree *tree; in audit_trim_trees()
643 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
693 void audit_put_tree(struct audit_tree *tree) in audit_put_tree()
719 struct audit_tree *victim; in prune_tree_thread()
722 struct audit_tree, list); in prune_tree_thread()
755 struct audit_tree *seed = rule->tree, *tree; in audit_add_tree_rule()
850 struct audit_tree *tree; in audit_tag_tree()
853 tree = container_of(cursor.next, struct audit_tree, list); in audit_tag_tree()
889 struct audit_tree *tree; in audit_tag_tree()
891 tree = container_of(barrier.prev, struct audit_tree, list); in audit_tag_tree()
934 struct audit_tree *victim; in audit_kill_trees()
936 victim = list_entry(list->next, struct audit_tree, list); in audit_kill_trees()
957 struct audit_tree *owner; in evict_chunk()
970 struct audit_tree, same_root); in evict_chunk()