Home
last modified time | relevance | path

Searched refs:kvm_arch (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kvm/
H A Dkvm_onhyperv.c40 struct kvm_arch *kvm_arch = &kvm->arch; in __hv_flush_remote_tlbs_range() local
46 spin_lock(&kvm_arch->hv_root_tdp_lock); in __hv_flush_remote_tlbs_range()
48 if (!VALID_PAGE(kvm_arch->hv_root_tdp)) { in __hv_flush_remote_tlbs_range()
58 if (!VALID_PAGE(root) || root == kvm_arch->hv_root_tdp) in __hv_flush_remote_tlbs_range()
68 kvm_arch->hv_root_tdp = root; in __hv_flush_remote_tlbs_range()
86 kvm_arch->hv_root_tdp = INVALID_PAGE; in __hv_flush_remote_tlbs_range()
88 ret = hv_remote_flush_root_tdp(kvm_arch->hv_root_tdp, range); in __hv_flush_remote_tlbs_range()
91 spin_unlock(&kvm_arch->hv_root_tdp_lock); in __hv_flush_remote_tlbs_range()
114 struct kvm_arch *kvm_arch = &vcpu->kvm->arch; in hv_track_root_tdp() local
117 spin_lock(&kvm_arch->hv_root_tdp_lock); in hv_track_root_tdp()
[all …]
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h118 struct kvm_arch { struct
299 static inline bool kvm_vm_support(struct kvm_arch *arch, int feature) in kvm_vm_support()
/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmem_protect.h19 struct kvm_arch arch;
/linux/arch/riscv/include/asm/
H A Dkvm_host.h90 struct kvm_arch { struct
/linux/arch/arm64/include/asm/
H A Dkvm_host.h197 struct kvm_arch *arch;
295 struct kvm_arch { struct
1474 static inline bool __vcpu_has_feature(const struct kvm_arch *ka, int feature) in __vcpu_has_feature()
1496 static inline u64 *__vm_id_reg(struct kvm_arch *ka, u32 reg) in __vm_id_reg()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c493 struct kvm_arch *ka = &kvm->arch; in kvm_init_pvm_id_regs()
/linux/arch/riscv/kvm/
H A Dmmu.c463 struct kvm_arch *k = &vcpu->kvm->arch; in kvm_riscv_mmu_update_hgatp()
/linux/arch/s390/include/asm/
H A Dkvm_host.h635 struct kvm_arch { struct
/linux/arch/x86/include/asm/
H A Dkvm_host.h1379 struct kvm_arch { struct
/linux/include/linux/
H A Dkvm_host.h832 struct kvm_arch arch;
/linux/arch/x86/kvm/mmu/
H A Dmmu.c7860 struct kvm_arch *ka = container_of(once, struct kvm_arch, nx_once); in kvm_mmu_start_lpage_recovery()