Home
last modified time | relevance | path

Searched refs:kvm_arch (Results 1 – 10 of 10) 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 …]
H A Dx86.c2453 struct kvm_arch *ka = &vcpu->kvm->arch; in kvm_write_system_time()
2614 struct kvm_arch *ka = &vcpu->kvm->arch; in kvm_track_tsc_matching()
3121 struct kvm_arch *ka = &kvm->arch; in pvclock_update_vm_gtod_copy()
3171 struct kvm_arch *ka = &kvm->arch; in kvm_end_pvclock_update()
3212 struct kvm_arch *ka = &kvm->arch; in __get_kvmclock()
3247 struct kvm_arch *ka = &kvm->arch; in get_kvmclock()
3318 struct kvm_arch *ka = &v->kvm->arch; in kvm_guest_time_update()
3461 struct kvm_arch *ka = &kvm->arch; in kvm_get_wall_clock_epoch()
7196 struct kvm_arch *ka = &kvm->arch; in kvm_vm_ioctl_set_clock()
/linux/arch/arm64/include/asm/
H A Dkvm_host.h197 struct kvm_arch *arch;
295 struct kvm_arch { struct
635 static inline struct resx __kvm_get_sysreg_resx(struct kvm_arch *arch, in __kvm_get_sysreg_resx()
650 static inline void __kvm_set_sysreg_resx(struct kvm_arch *arch, in __kvm_set_sysreg_resx()
1501 static inline bool __vcpu_has_feature(const struct kvm_arch *ka, int feature) in __vcpu_has_feature()
1523 static inline u64 *__vm_id_reg(struct kvm_arch *ka, u32 reg) in __vm_id_reg()
/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/Documentation/virt/kvm/
H A Dlocking.rst261 ``kvm_arch::tsc_write_lock``
266 :Protects: - kvm_arch::{last_tsc_write,last_tsc_nsec,last_tsc_offset}
/linux/arch/riscv/kvm/
H A Dmmu.c607 struct kvm_arch *k = &vcpu->kvm->arch; in kvm_riscv_mmu_update_hgatp()
/linux/arch/x86/include/asm/
H A Dkvm_host.h1399 struct kvm_arch { struct
/linux/include/linux/
H A Dkvm_host.h832 struct kvm_arch arch;
/linux/arch/x86/kvm/mmu/
H A Dmmu.c7859 struct kvm_arch *ka = container_of(once, struct kvm_arch, nx_once); in kvm_mmu_start_lpage_recovery()