Lines Matching refs:hyperv
67 union hyperv_ref_tsc_page_msr *ref_tsc_page = &vcpu->vm->arch_vm.hyperv.ref_tsc_page; in hyperv_setup_tsc_page()
77 p->tsc_scale = vcpu->vm->arch_vm.hyperv.tsc_scale; in hyperv_setup_tsc_page()
78 p->tsc_offset = vcpu->vm->arch_vm.hyperv.tsc_offset; in hyperv_setup_tsc_page()
103 return hyperv_scale_tsc(vm->arch_vm.hyperv.tsc_scale) - vm->arch_vm.hyperv.tsc_offset; in hyperv_get_ReferenceTime()
156 vcpu->vm->arch_vm.hyperv.guest_os_id.val64 = wval; in hyperv_wrmsr()
158 vcpu->vm->arch_vm.hyperv.hypercall_page.enabled = 0UL; in hyperv_wrmsr()
162 if (vcpu->vm->arch_vm.hyperv.guest_os_id.val64 == 0UL) { in hyperv_wrmsr()
166 vcpu->vm->arch_vm.hyperv.hypercall_page.val64 = wval; in hyperv_wrmsr()
197 *rval = vcpu->vm->arch_vm.hyperv.guest_os_id.val64; in hyperv_rdmsr()
200 *rval = vcpu->vm->arch_vm.hyperv.hypercall_page.val64; in hyperv_rdmsr()
209 *rval = vcpu->vm->arch_vm.hyperv.ref_tsc_page.val64; in hyperv_rdmsr()
250 vm->arch_vm.hyperv.tsc_scale = tsc_scale; in hyperv_init_time()
251 vm->arch_vm.hyperv.tsc_offset = tsc_offset; in hyperv_init_time()
317 vm->arch_vm.hyperv.hypercall_page.enabled = 0U; in hyperv_page_destory()
319 vm->arch_vm.hyperv.guest_os_id.val64 = 0UL; in hyperv_page_destory()
321 vm->arch_vm.hyperv.ref_tsc_page.enabled = 0UL; in hyperv_page_destory()