Home
last modified time | relevance | path

Searched refs:kvm_arch (Results 1 – 9 of 9) 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.c2455 struct kvm_arch *ka = &vcpu->kvm->arch; in kvm_write_system_time()
2616 struct kvm_arch *ka = &vcpu->kvm->arch; in kvm_track_tsc_matching()
3123 struct kvm_arch *ka = &kvm->arch; in pvclock_update_vm_gtod_copy()
3173 struct kvm_arch *ka = &kvm->arch; in kvm_end_pvclock_update()
3214 struct kvm_arch *ka = &kvm->arch; in __get_kvmclock()
3249 struct kvm_arch *ka = &kvm->arch; in get_kvmclock()
3320 struct kvm_arch *ka = &v->kvm->arch; in kvm_guest_time_update()
3463 struct kvm_arch *ka = &kvm->arch; in kvm_get_wall_clock_epoch()
7215 struct kvm_arch *ka = &kvm->arch; in kvm_vm_ioctl_set_clock()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h119 struct kvm_arch { struct
310 static inline bool kvm_vm_support(struct kvm_arch *arch, int feature) in kvm_vm_support()
/linux/arch/arm64/include/asm/
H A Dkvm_host.h197 struct kvm_arch *arch;
309 struct kvm_arch { struct
655 static inline struct resx __kvm_get_sysreg_resx(struct kvm_arch *arch, in __kvm_get_sysreg_resx()
670 static inline void __kvm_set_sysreg_resx(struct kvm_arch *arch, in __kvm_set_sysreg_resx()
1540 static inline bool __vcpu_has_feature(const struct kvm_arch *ka, int feature) in __vcpu_has_feature()
1562 static inline u64 *__vm_id_reg(struct kvm_arch *ka, u32 reg) in __vm_id_reg()
/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.c579 struct kvm_arch *ka = &vcpu->kvm->arch; in kvm_riscv_mmu_update_hgatp()
/linux/arch/s390/include/asm/
H A Dkvm_host.h641 struct kvm_arch { struct
/linux/arch/x86/include/asm/
H A Dkvm_host.h1415 struct kvm_arch { struct
/linux/include/linux/
H A Dkvm_host.h833 struct kvm_arch arch;