Home
last modified time | relevance | path

Searched refs:vcpu_offset (Results 1 – 4 of 4) sorted by relevance

/linux/include/kvm/
H A Darm_arch_timer.h40 u64 *vcpu_offset; member
173 if (ctxt->offset.vcpu_offset) in timer_get_offset()
174 offset += *ctxt->offset.vcpu_offset; in timer_get_offset()
/linux/include/asm-generic/
H A Dmshyperv.h235 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in __cpumask_to_vpset() local
260 vcpu_offset = vcpu % HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
261 __set_bit(vcpu_offset, (unsigned long *) in __cpumask_to_vpset()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h677 if (ctxt->offset.vcpu_offset) in hyp_timer_get_offset()
678 offset += *kern_hyp_va(ctxt->offset.vcpu_offset); in hyp_timer_get_offset()
/linux/arch/arm64/kvm/
H A Darch_timer.c1030 offs->vcpu_offset = __ctxt_sys_reg(&vcpu->arch.ctxt, CNTVOFF_EL2); in kvm_timer_vcpu_reset()
1161 val = *timer->offset.vcpu_offset; in kvm_arm_timer_read()
1215 *timer->offset.vcpu_offset = val; in kvm_arm_timer_write()