Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 8 of 8) sorted by relevance

/kernel/
Daudit_tree.c95 struct audit_tree *tree; in alloc_tree() local
97 tree = kmalloc(sizeof(struct audit_tree) + strlen(s) + 1, GFP_KERNEL); in alloc_tree()
98 if (tree) { in alloc_tree()
99 refcount_set(&tree->count, 1); in alloc_tree()
100 tree->goner = 0; in alloc_tree()
101 INIT_LIST_HEAD(&tree->chunks); in alloc_tree()
102 INIT_LIST_HEAD(&tree->rules); in alloc_tree()
103 INIT_LIST_HEAD(&tree->list); in alloc_tree()
104 INIT_LIST_HEAD(&tree->same_root); in alloc_tree()
105 tree->root = NULL; in alloc_tree()
[all …]
Dauditfilter.c155 krule->inode_f || krule->watch || krule->tree || in audit_to_inode()
606 if (entry->rule.tree) in audit_data_to_entry()
607 audit_put_tree(entry->rule.tree); /* that's the temporary one */ in audit_data_to_entry()
668 audit_tree_path(krule->tree)); in audit_krule_to_data()
732 if (strcmp(audit_tree_path(a->tree), in audit_compare_rule()
733 audit_tree_path(b->tree))) in audit_compare_rule()
842 new->tree = old->tree; in audit_dupe_rule()
934 struct audit_tree *tree = entry->rule.tree; in audit_add_rule() local
955 if (tree) in audit_add_rule()
956 audit_put_tree(tree); in audit_add_rule()
[all …]
Daudit.h286 struct audit_tree *tree);
292 extern const char *audit_tree_path(struct audit_tree *tree);
293 extern void audit_put_tree(struct audit_tree *tree);
322 #define audit_put_tree(tree) do { } while (0) argument
Dauditsc.c317 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs() argument
322 if (!tree) in match_tree_refs()
327 if (audit_tree_match(p->c[n], tree)) in match_tree_refs()
333 if (audit_tree_match(p->c[n], tree)) in match_tree_refs()
647 result = match_tree_refs(ctx, rule->tree); in audit_filter_rules()
Daudit_watch.c188 krule->inode_f || krule->watch || krule->tree) in audit_to_watch()
/kernel/rcu/
DMakefile16 obj-$(CONFIG_TREE_RCU) += tree.o
DKconfig113 making these warnings mandatory for the tree variants.
/kernel/events/
Dcore.c1667 groups->tree = RB_ROOT; in perf_event_groups_init()
1769 rb_add(&event->group_node, &groups->tree, __group_less); in perf_event_groups_insert()
1792 RB_EMPTY_ROOT(&groups->tree)); in perf_event_groups_delete()
1794 rb_erase(&event->group_node, &groups->tree); in perf_event_groups_delete()
1823 node = rb_find_first(&key, &groups->tree, __group_cmp); in perf_event_groups_first()
1853 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \
4013 if (!RB_EMPTY_ROOT(&ctx->pinned_groups.tree)) in perf_event_context_sched_in()
4273 event = rb_entry_safe(rb_first(&ctx->flexible_groups.tree), in ctx_event_to_rotate()