Home
last modified time | relevance | path

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

/linux-6.15/include/kvm/
H A Darm_arch_timer.h40 u64 *vcpu_offset; member
175 if (ctxt->offset.vcpu_offset) in timer_get_offset()
176 offset += *ctxt->offset.vcpu_offset; in timer_get_offset()
/linux-6.15/include/asm-generic/
H A Dmshyperv.h263 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in __cpumask_to_vpset() local
288 vcpu_offset = vcpu % HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
289 __set_bit(vcpu_offset, (unsigned long *) in __cpumask_to_vpset()
/linux-6.15/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h590 if (ctxt->offset.vcpu_offset) in hyp_timer_get_offset()
591 offset += *kern_hyp_va(ctxt->offset.vcpu_offset); in hyp_timer_get_offset()
/linux-6.15/arch/arm64/kvm/
H A Darch_timer.c1039 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2); in kvm_timer_vcpu_reset()
1233 val = *timer->offset.vcpu_offset; in kvm_arm_timer_read()
1287 *timer->offset.vcpu_offset = val; in kvm_arm_timer_write()