• Home
  • Raw
  • Download

Lines Matching refs:rb_node

33 	struct rb_node *parent = NULL;  in __perf_env__insert_bpf_prog_info()
34 struct rb_node **p; in __perf_env__insert_bpf_prog_info()
36 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info()
40 node = rb_entry(parent, struct bpf_prog_info_node, rb_node); in __perf_env__insert_bpf_prog_info()
51 rb_link_node(&info_node->rb_node, parent, p); in __perf_env__insert_bpf_prog_info()
52 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in __perf_env__insert_bpf_prog_info()
60 struct rb_node *n; in perf_env__find_bpf_prog_info()
63 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
66 node = rb_entry(n, struct bpf_prog_info_node, rb_node); in perf_env__find_bpf_prog_info()
93 struct rb_node *parent = NULL; in __perf_env__insert_btf()
96 struct rb_node **p; in __perf_env__insert_btf()
98 p = &env->bpf_progs.btfs.rb_node; in __perf_env__insert_btf()
102 node = rb_entry(parent, struct btf_node, rb_node); in __perf_env__insert_btf()
113 rb_link_node(&btf_node->rb_node, parent, p); in __perf_env__insert_btf()
114 rb_insert_color(&btf_node->rb_node, &env->bpf_progs.btfs); in __perf_env__insert_btf()
132 struct rb_node *n; in __perf_env__find_btf()
134 n = env->bpf_progs.btfs.rb_node; in __perf_env__find_btf()
137 node = rb_entry(n, struct btf_node, rb_node); in __perf_env__find_btf()
152 struct rb_node *next; in perf_env__purge_bpf()
162 node = rb_entry(next, struct bpf_prog_info_node, rb_node); in perf_env__purge_bpf()
163 next = rb_next(&node->rb_node); in perf_env__purge_bpf()
164 rb_erase(&node->rb_node, root); in perf_env__purge_bpf()
177 node = rb_entry(next, struct btf_node, rb_node); in perf_env__purge_bpf()
178 next = rb_next(&node->rb_node); in perf_env__purge_bpf()
179 rb_erase(&node->rb_node, root); in perf_env__purge_bpf()