Lines Matching refs:vmcs_info

2500 				      struct intel_pt_vmcs_info *vmcs_info)  in intel_pt_translate_vm_tsc()  argument
2505 decoder->packet.payload -= vmcs_info->tsc_offset; in intel_pt_translate_vm_tsc()
2518 payload, decoder->packet.payload, vmcs_info->vmcs, in intel_pt_translate_vm_tsc()
2519 vmcs_info->tsc_offset); in intel_pt_translate_vm_tsc()
2525 struct intel_pt_vmcs_info vmcs_info = { in intel_pt_translate_vm_tsc_offset() local
2530 intel_pt_translate_vm_tsc(decoder, &vmcs_info); in intel_pt_translate_vm_tsc_offset()
2543 static void intel_pt_print_vmcs_info(struct intel_pt_vmcs_info *vmcs_info) in intel_pt_print_vmcs_info() argument
2546 vmcs_info->vmcs, vmcs_info->tsc_offset); in intel_pt_print_vmcs_info()
2563 struct intel_pt_vmcs_info *vmcs_info, in intel_pt_vm_tm_corr_first_tsc() argument
2573 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_first_tsc()
2574 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2588 if (vmcs_info && vmcs_info->tsc_offset) in intel_pt_vm_tm_corr_first_tsc()
2589 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2599 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_tsc() local
2633 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_tsc()
2639 intel_pt_vm_tm_corr_first_tsc(decoder, data, vmcs_info, host_tsc); in intel_pt_vm_tm_corr_tsc()
2650 if (!vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2674 if (vmcs_info && in intel_pt_vm_tm_corr_tsc()
2676 (vmcs_info->tsc_offset & SEVEN_BYTES)) { in intel_pt_vm_tm_corr_tsc()
2697 if (vmcs_info && vmcs_info->vmcs) { in intel_pt_vm_tm_corr_tsc()
2698 if (vmcs_info->tsc_offset && vmcs_info->reliable) { in intel_pt_vm_tm_corr_tsc()
2716 if (assign && (vmcs_info->tsc_offset != tsc_offset || in intel_pt_vm_tm_corr_tsc()
2717 vmcs_info->reliable != assign_reliable)) { in intel_pt_vm_tm_corr_tsc()
2718 bool print = vmcs_info->tsc_offset != tsc_offset; in intel_pt_vm_tm_corr_tsc()
2720 vmcs_info->tsc_offset = tsc_offset; in intel_pt_vm_tm_corr_tsc()
2721 vmcs_info->reliable = assign_reliable; in intel_pt_vm_tm_corr_tsc()
2723 intel_pt_print_vmcs_info(vmcs_info); in intel_pt_vm_tm_corr_tsc()
2727 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_tsc()
2728 if (!vmcs_info->reliable) in intel_pt_vm_tm_corr_tsc()
2730 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_tsc()
2733 if (vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2734 if (!vmcs_info->error_printed) { in intel_pt_vm_tm_corr_tsc()
2736 vmcs_info->vmcs); in intel_pt_vm_tm_corr_tsc()
2737 vmcs_info->error_printed = true; in intel_pt_vm_tm_corr_tsc()
2753 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_pebs_tsc() local
2760 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_pebs_tsc()
2764 if (!vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2778 if (vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2780 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc()
2784 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2785 vmcs_info->tsc_offset); in intel_pt_vm_tm_corr_pebs_tsc()