Home
last modified time | relevance | path

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

/openbmc/linux/include/asm-generic/
H A Dmshyperv.h223 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in __cpumask_to_vpset() local
248 vcpu_offset = vcpu % HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
249 __set_bit(vcpu_offset, (unsigned long *) in __cpumask_to_vpset()
/openbmc/linux/arch/arm64/kvm/
H A Darch_timer.c113 if (ctxt->offset.vcpu_offset) in timer_get_offset()
114 offset += *ctxt->offset.vcpu_offset; in timer_get_offset()
758 offs->vcpu_offset = NULL; in kvm_timer_vcpu_load_nested_switch()
760 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2); in kvm_timer_vcpu_load_nested_switch()
963 offs->vcpu_offset = &__vcpu_sys_reg(vcpu, CNTVOFF_EL2); in kvm_timer_vcpu_reset()
1160 val = *timer->offset.vcpu_offset; in kvm_arm_timer_read()
1214 *timer->offset.vcpu_offset = val; in kvm_arm_timer_write()
/openbmc/linux/include/kvm/
H A Darm_arch_timer.h40 u64 *vcpu_offset; member
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h493 if (ctxt->offset.vcpu_offset) in kvm_hyp_handle_cntpct()
494 val -= *kern_hyp_va(ctxt->offset.vcpu_offset); in kvm_hyp_handle_cntpct()