Lines Matching defs:root
177 static struct btf_id *btf_id__find(struct rb_root *root, const char *name)
179 struct rb_node *p = root->rb_node;
197 btf_id__add(struct rb_root *root, char *name, bool unique)
199 struct rb_node **p = &root->rb_node;
221 rb_insert_color(&id->rb_node, root);
277 static struct btf_id *add_symbol(struct rb_root *root, char *name, size_t size)
287 return btf_id__add(root, id, false);
560 struct rb_root *root;
574 root = &obj->funcs;
577 root = &obj->structs;
580 root = &obj->unions;
583 root = &obj->typedefs;
594 id = btf_id__find(root, str);
643 static int __symbols_patch(struct object *obj, struct rb_root *root)
648 next = rb_first(root);