Home
last modified time | relevance | path

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

/linux-6.6.21/include/asm-generic/
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()
/linux-6.6.21/arch/arm64/kvm/
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()
/linux-6.6.21/include/kvm/
Darm_arch_timer.h40 u64 *vcpu_offset; member
/linux-6.6.21/arch/arm64/kvm/hyp/include/hyp/
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()