Home
last modified time | relevance | path

Searched refs:gpa_tree (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h42 struct rb_root gpa_tree; member
Dkvm_util.c233 vm->regions.gpa_tree = RB_ROOT; in vm_create()
490 for (node = vm->regions.gpa_tree.rb_node; node; ) { in userspace_mem_region_find()
623 rb_erase(&region->gpa_node, &vm->regions.gpa_tree); in __vm_mem_region_delete()
736 static void vm_userspace_mem_region_gpa_insert(struct rb_root *gpa_tree, in vm_userspace_mem_region_gpa_insert() argument
741 for (cur = &gpa_tree->rb_node, parent = NULL; *cur; ) { in vm_userspace_mem_region_gpa_insert()
759 rb_insert_color(&region->gpa_node, gpa_tree); in vm_userspace_mem_region_gpa_insert()
943 vm_userspace_mem_region_gpa_insert(&vm->regions.gpa_tree, region); in vm_userspace_mem_region_add()