Lines Matching refs:kvm_vm
29 static uint64_t page_align(struct kvm_vm *vm, uint64_t v) in page_align()
34 static uint64_t pte_addr(struct kvm_vm *vm, uint64_t entry) in pte_addr()
40 static uint64_t ptrs_per_pte(struct kvm_vm *vm) in ptrs_per_pte()
59 static uint64_t pte_index(struct kvm_vm *vm, vm_vaddr_t gva, int level) in pte_index()
69 void virt_arch_pgd_alloc(struct kvm_vm *vm) in virt_arch_pgd_alloc()
82 void virt_arch_pg_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr) in virt_arch_pg_map()
126 vm_paddr_t addr_arch_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_arch_gva2gpa()
155 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, in pte_dump()
177 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump()
198 struct kvm_vm *vm = vcpu->vm; in riscv_vcpu_mmu_setup()
298 struct kvm_vcpu *vm_arch_vcpu_add(struct kvm_vm *vm, uint32_t vcpu_id) in vm_arch_vcpu_add()
434 void vm_init_vector_tables(struct kvm_vm *vm) in vm_init_vector_tables()
442 void vm_install_exception_handler(struct kvm_vm *vm, int vector, exception_handler_fn handler) in vm_install_exception_handler()
450 void vm_install_interrupt_handler(struct kvm_vm *vm, exception_handler_fn handler) in vm_install_interrupt_handler()