Lines Matching refs:kvm_vm

182 void vm_enable_dirty_ring(struct kvm_vm *vm, uint32_t ring_size)  in vm_enable_dirty_ring()
191 static void vm_open(struct kvm_vm *vm) in vm_open()
259 __weak void vm_vaddr_populate_bitmap(struct kvm_vm *vm) in vm_vaddr_populate_bitmap()
268 struct kvm_vm *____vm_create(struct vm_shape shape) in ____vm_create()
270 struct kvm_vm *vm; in ____vm_create()
409 struct kvm_vm *__vm_create(struct vm_shape shape, uint32_t nr_runnable_vcpus, in __vm_create()
415 struct kvm_vm *vm; in __vm_create()
469 struct kvm_vm *__vm_create_with_vcpus(struct vm_shape shape, uint32_t nr_vcpus, in __vm_create_with_vcpus()
473 struct kvm_vm *vm; in __vm_create_with_vcpus()
486 struct kvm_vm *__vm_create_shape_with_one_vcpu(struct vm_shape shape, in __vm_create_shape_with_one_vcpu()
492 struct kvm_vm *vm; in __vm_create_shape_with_one_vcpu()
512 void kvm_vm_restart(struct kvm_vm *vmp) in kvm_vm_restart()
535 __weak struct kvm_vcpu *vm_arch_vcpu_recreate(struct kvm_vm *vm, in vm_arch_vcpu_recreate()
541 struct kvm_vcpu *vm_recreate_with_one_vcpu(struct kvm_vm *vm) in vm_recreate_with_one_vcpu()
638 userspace_mem_region_find(struct kvm_vm *vm, uint64_t start, uint64_t end) in userspace_mem_region_find()
677 static void vm_vcpu_rm(struct kvm_vm *vm, struct kvm_vcpu *vcpu) in vm_vcpu_rm()
699 void kvm_vm_release(struct kvm_vm *vmp) in kvm_vm_release()
714 static void __vm_mem_region_delete(struct kvm_vm *vm, in __vm_mem_region_delete()
745 void kvm_vm_free(struct kvm_vm *vmp) in kvm_vm_free()
846 int __vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, in __vm_set_user_memory_region()
860 void vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, in vm_set_user_memory_region()
873 int __vm_set_user_memory_region2(struct kvm_vm *vm, uint32_t slot, uint32_t flags, in __vm_set_user_memory_region2()
892 void vm_set_user_memory_region2(struct kvm_vm *vm, uint32_t slot, uint32_t flags, in vm_set_user_memory_region2()
905 void vm_mem_add(struct kvm_vm *vm, enum vm_mem_backing_src_type src_type, in vm_mem_add()
1084 void vm_userspace_mem_region_add(struct kvm_vm *vm, in vm_userspace_mem_region_add()
1108 memslot2region(struct kvm_vm *vm, uint32_t memslot) in memslot2region()
1139 void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags) in vm_mem_region_set_flags()
1169 void vm_mem_region_move(struct kvm_vm *vm, uint32_t slot, uint64_t new_gpa) in vm_mem_region_move()
1198 void vm_mem_region_delete(struct kvm_vm *vm, uint32_t slot) in vm_mem_region_delete()
1203 void vm_guest_mem_fallocate(struct kvm_vm *vm, uint64_t base, uint64_t size, in vm_guest_mem_fallocate()
1247 static bool vcpu_exists(struct kvm_vm *vm, uint32_t vcpu_id) in vcpu_exists()
1263 struct kvm_vcpu *__vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpu_id) in __vm_vcpu_add()
1313 vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz, in vm_vaddr_unused_gap()
1379 static vm_vaddr_t ____vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, in ____vm_vaddr_alloc()
1409 vm_vaddr_t __vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min, in __vm_vaddr_alloc()
1416 vm_vaddr_t vm_vaddr_alloc_shared(struct kvm_vm *vm, size_t sz, in vm_vaddr_alloc_shared()
1442 vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min) in vm_vaddr_alloc()
1461 vm_vaddr_t vm_vaddr_alloc_pages(struct kvm_vm *vm, int nr_pages) in vm_vaddr_alloc_pages()
1466 vm_vaddr_t __vm_vaddr_alloc_page(struct kvm_vm *vm, enum kvm_mem_region_type type) in __vm_vaddr_alloc_page()
1485 vm_vaddr_t vm_vaddr_alloc_page(struct kvm_vm *vm) in vm_vaddr_alloc_page()
1506 void virt_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr, in virt_map()
1541 void *addr_gpa2hva(struct kvm_vm *vm, vm_paddr_t gpa) in addr_gpa2hva()
1574 vm_paddr_t addr_hva2gpa(struct kvm_vm *vm, void *hva) in addr_hva2gpa()
1617 void *addr_gpa2alias(struct kvm_vm *vm, vm_paddr_t gpa) in addr_gpa2alias()
1634 void vm_create_irqchip(struct kvm_vm *vm) in vm_create_irqchip()
1741 int __kvm_test_create_device(struct kvm_vm *vm, uint64_t type) in __kvm_test_create_device()
1751 int __kvm_create_device(struct kvm_vm *vm, uint64_t type) in __kvm_create_device()
1793 int _kvm_irq_line(struct kvm_vm *vm, uint32_t irq, int level) in _kvm_irq_line()
1803 void kvm_irq_line(struct kvm_vm *vm, uint32_t irq, int level) in kvm_irq_line()
1841 int _kvm_gsi_routing_write(struct kvm_vm *vm, struct kvm_irq_routing *routing) in _kvm_gsi_routing_write()
1852 void kvm_gsi_routing_write(struct kvm_vm *vm, struct kvm_irq_routing *routing) in kvm_gsi_routing_write()
1875 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in vm_dump()
2010 vm_paddr_t __vm_phy_pages_alloc(struct kvm_vm *vm, size_t num, in __vm_phy_pages_alloc()
2056 vm_paddr_t vm_phy_page_alloc(struct kvm_vm *vm, vm_paddr_t paddr_min, in vm_phy_page_alloc()
2062 vm_paddr_t vm_alloc_page_table(struct kvm_vm *vm) in vm_alloc_page_table()
2080 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2hva()
2085 unsigned long __weak vm_compute_max_gfn(struct kvm_vm *vm) in vm_compute_max_gfn()
2211 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, in __vm_get_stat()
2240 __weak void kvm_arch_vm_post_create(struct kvm_vm *vm) in kvm_arch_vm_post_create()
2259 bool vm_is_gpa_protected(struct kvm_vm *vm, vm_paddr_t paddr) in vm_is_gpa_protected()