Home
last modified time | relevance | path

Searched refs:hva_tree (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c200 vm->regions.hva_tree = RB_ROOT; in ____vm_create()
579 rb_erase(&region->hva_node, &vm->regions.hva_tree); in __vm_mem_region_delete()
741 static void vm_userspace_mem_region_hva_insert(struct rb_root *hva_tree, in vm_userspace_mem_region_hva_insert() argument
746 for (cur = &hva_tree->rb_node, parent = NULL; *cur; ) { in vm_userspace_mem_region_hva_insert()
763 rb_insert_color(&region->hva_node, hva_tree); in vm_userspace_mem_region_hva_insert()
944 vm_userspace_mem_region_hva_insert(&vm->regions.hva_tree, region); in vm_userspace_mem_region_add()
1388 for (node = vm->regions.hva_tree.rb_node; node; ) { in addr_hva2gpa()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h63 struct rb_root hva_tree; member
/linux-6.1.9/virt/kvm/
Dkvm_main.c574 for (node = interval_tree_iter_first(&slots->hva_tree, start, last); \
1182 slots->hva_tree = RB_ROOT_CACHED; in kvm_create_vm()
1484 interval_tree_remove(&old->hva_node[idx], &slots->hva_tree); in kvm_replace_memslot()
1509 interval_tree_insert(&new->hva_node[idx], &slots->hva_tree); in kvm_replace_memslot()
/linux-6.1.9/include/linux/
Dkvm_host.h675 struct rb_root_cached hva_tree; member