Lines Matching refs:res
76 struct bpf_rb_node *res;
92 res = bpf_rbtree_remove(&groot, &n->node);
93 n = container_of(res, struct node_data, node);
96 res = bpf_rbtree_remove(&groot, &m->node);
97 m = container_of(res, struct node_data, node);
111 struct bpf_rb_node *res;
115 res = bpf_rbtree_first(&groot);
116 if (!res)
119 res = bpf_rbtree_remove(&groot, res);
121 if (res) {
122 n = container_of(res, struct node_data, node);
127 /* if (res) { bpf_obj_drop(n); } is missing here */
158 struct bpf_rb_node *res;
162 res = bpf_rbtree_first(&groot);
163 if (!res)
165 res = bpf_rbtree_remove(&groot, res);
170 /* Must check res for NULL before using in rbtree_add below */
171 bpf_rbtree_add(&groot, res, less);
208 struct bpf_rb_node *res;
212 res = bpf_rbtree_first(&groot);
213 if (!res) {
217 n = container_of(res, struct node_data, node);