• Home
  • Raw
  • Download

Lines Matching refs:rb_node

21 	struct rb_node *parent = NULL;  in perf_env__insert_bpf_prog_info()
22 struct rb_node **p; in perf_env__insert_bpf_prog_info()
25 p = &env->bpf_progs.infos.rb_node; in perf_env__insert_bpf_prog_info()
29 node = rb_entry(parent, struct bpf_prog_info_node, rb_node); in perf_env__insert_bpf_prog_info()
40 rb_link_node(&info_node->rb_node, parent, p); in perf_env__insert_bpf_prog_info()
41 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in perf_env__insert_bpf_prog_info()
51 struct rb_node *n; in perf_env__find_bpf_prog_info()
54 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
57 node = rb_entry(n, struct bpf_prog_info_node, rb_node); in perf_env__find_bpf_prog_info()
74 struct rb_node *parent = NULL; in perf_env__insert_btf()
77 struct rb_node **p; in perf_env__insert_btf()
80 p = &env->bpf_progs.btfs.rb_node; in perf_env__insert_btf()
84 node = rb_entry(parent, struct btf_node, rb_node); in perf_env__insert_btf()
95 rb_link_node(&btf_node->rb_node, parent, p); in perf_env__insert_btf()
96 rb_insert_color(&btf_node->rb_node, &env->bpf_progs.btfs); in perf_env__insert_btf()
105 struct rb_node *n; in perf_env__find_btf()
108 n = env->bpf_progs.btfs.rb_node; in perf_env__find_btf()
111 node = rb_entry(n, struct btf_node, rb_node); in perf_env__find_btf()
130 struct rb_node *next; in perf_env__purge_bpf()
140 node = rb_entry(next, struct bpf_prog_info_node, rb_node); in perf_env__purge_bpf()
141 next = rb_next(&node->rb_node); in perf_env__purge_bpf()
142 rb_erase(&node->rb_node, root); in perf_env__purge_bpf()
154 node = rb_entry(next, struct btf_node, rb_node); in perf_env__purge_bpf()
155 next = rb_next(&node->rb_node); in perf_env__purge_bpf()
156 rb_erase(&node->rb_node, root); in perf_env__purge_bpf()