vmp 73 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_free(struct kvm_vm *vmp); vmp 74 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_restart(struct kvm_vm *vmp, int perm); vmp 75 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_release(struct kvm_vm *vmp); vmp 255 tools/testing/selftests/kvm/lib/kvm_util.c void kvm_vm_restart(struct kvm_vm *vmp, int perm) vmp 259 tools/testing/selftests/kvm/lib/kvm_util.c vm_open(vmp, perm); vmp 260 tools/testing/selftests/kvm/lib/kvm_util.c if (vmp->has_irqchip) vmp 261 tools/testing/selftests/kvm/lib/kvm_util.c vm_create_irqchip(vmp); vmp 263 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vmp->userspace_mem_region_head; region; vmp 265 tools/testing/selftests/kvm/lib/kvm_util.c int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, ®ion->region); vmp 427 tools/testing/selftests/kvm/lib/kvm_util.c void kvm_vm_release(struct kvm_vm *vmp) vmp 431 tools/testing/selftests/kvm/lib/kvm_util.c while (vmp->vcpu_head) vmp 432 tools/testing/selftests/kvm/lib/kvm_util.c vm_vcpu_rm(vmp, vmp->vcpu_head->id); vmp 434 tools/testing/selftests/kvm/lib/kvm_util.c ret = close(vmp->fd); vmp 436 tools/testing/selftests/kvm/lib/kvm_util.c " vmp->fd: %i rc: %i errno: %i", vmp->fd, ret, errno); vmp 438 tools/testing/selftests/kvm/lib/kvm_util.c close(vmp->kvm_fd); vmp 440 tools/testing/selftests/kvm/lib/kvm_util.c " vmp->kvm_fd: %i rc: %i errno: %i", vmp->kvm_fd, ret, errno); vmp 446 tools/testing/selftests/kvm/lib/kvm_util.c void kvm_vm_free(struct kvm_vm *vmp) vmp 450 tools/testing/selftests/kvm/lib/kvm_util.c if (vmp == NULL) vmp 454 tools/testing/selftests/kvm/lib/kvm_util.c while (vmp->userspace_mem_region_head) { vmp 456 tools/testing/selftests/kvm/lib/kvm_util.c = vmp->userspace_mem_region_head; vmp 459 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, vmp 464 tools/testing/selftests/kvm/lib/kvm_util.c vmp->userspace_mem_region_head = region->next; vmp 474 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_free(&vmp->vpages_valid); vmp 475 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_free(&vmp->vpages_mapped); vmp 477 tools/testing/selftests/kvm/lib/kvm_util.c kvm_vm_release(vmp); vmp 480 tools/testing/selftests/kvm/lib/kvm_util.c free(vmp);