Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c221 vm->regions.hva_tree = RB_ROOT; in ____vm_create()
684 rb_erase(&region->hva_node, &vm->regions.hva_tree); in __vm_mem_region_delete()
852 static void vm_userspace_mem_region_hva_insert(struct rb_root *hva_tree, in vm_userspace_mem_region_hva_insert() argument
857 for (cur = &hva_tree->rb_node, parent = NULL; *cur; ) { in vm_userspace_mem_region_hva_insert()
874 rb_insert_color(&region->hva_node, hva_tree); in vm_userspace_mem_region_hva_insert()
1056 vm_userspace_mem_region_hva_insert(&vm->regions.hva_tree, region); in vm_userspace_mem_region_add()
1513 for (node = vm->regions.hva_tree.rb_node; node; ) { in addr_hva2gpa()
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h78 struct rb_root hva_tree; member
/linux-6.6.21/virt/kvm/
Dkvm_main.c579 for (node = interval_tree_iter_first(&slots->hva_tree, start, last); \
1203 slots->hva_tree = RB_ROOT_CACHED; in kvm_create_vm()
1505 interval_tree_remove(&old->hva_node[idx], &slots->hva_tree); in kvm_replace_memslot()
1530 interval_tree_insert(&new->hva_node[idx], &slots->hva_tree); in kvm_replace_memslot()
/linux-6.6.21/include/linux/
Dkvm_host.h690 struct rb_root_cached hva_tree; member