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()
599 if (entry->rule.tree) in audit_data_to_entry()
600 audit_put_tree(entry->rule.tree); /* that's the temporary one */ in audit_data_to_entry()
661 audit_tree_path(krule->tree)); in audit_krule_to_data()
725 if (strcmp(audit_tree_path(a->tree), in audit_compare_rule()
726 audit_tree_path(b->tree))) in audit_compare_rule()
835 new->tree = old->tree; in audit_dupe_rule()
927 struct audit_tree *tree = entry->rule.tree; in audit_add_rule() local
948 if (tree) in audit_add_rule()
949 audit_put_tree(tree); in audit_add_rule()
[all …]
Daudit.h279 struct audit_tree *tree);
285 extern const char *audit_tree_path(struct audit_tree *tree);
286 extern void audit_put_tree(struct audit_tree *tree);
315 #define audit_put_tree(tree) (void)0 argument
Dauditsc.c285 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs() argument
289 if (!tree) in match_tree_refs()
294 if (audit_tree_match(p->c[n], tree)) in match_tree_refs()
300 if (audit_tree_match(p->c[n], tree)) in match_tree_refs()
614 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/
DMakefile11 obj-$(CONFIG_TREE_RCU) += tree.o
12 obj-$(CONFIG_PREEMPT_RCU) += tree.o
DKconfig86 making these warnings mandatory for the tree variants.
/kernel/events/
Dcore.c1515 groups->tree = RB_ROOT; in perf_event_groups_init()
1556 node = &groups->tree.rb_node; in perf_event_groups_insert()
1570 rb_insert_color(&event->group_node, &groups->tree); in perf_event_groups_insert()
1593 RB_EMPTY_ROOT(&groups->tree)); in perf_event_groups_delete()
1595 rb_erase(&event->group_node, &groups->tree); in perf_event_groups_delete()
1618 struct rb_node *node = groups->tree.rb_node; in perf_event_groups_first()
1655 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \
3538 if (!RB_EMPTY_ROOT(&ctx->pinned_groups.tree)) in perf_event_context_sched_in()
3794 event = rb_entry_safe(rb_first(&ctx->flexible_groups.tree), in ctx_event_to_rotate()