Lines Matching refs:vmcs_info

2496 				      struct intel_pt_vmcs_info *vmcs_info)  in intel_pt_translate_vm_tsc()  argument
2501 decoder->packet.payload -= vmcs_info->tsc_offset; in intel_pt_translate_vm_tsc()
2514 payload, decoder->packet.payload, vmcs_info->vmcs, in intel_pt_translate_vm_tsc()
2515 vmcs_info->tsc_offset); in intel_pt_translate_vm_tsc()
2521 struct intel_pt_vmcs_info vmcs_info = { in intel_pt_translate_vm_tsc_offset() local
2526 intel_pt_translate_vm_tsc(decoder, &vmcs_info); in intel_pt_translate_vm_tsc_offset()
2539 static void intel_pt_print_vmcs_info(struct intel_pt_vmcs_info *vmcs_info) in intel_pt_print_vmcs_info() argument
2542 vmcs_info->vmcs, vmcs_info->tsc_offset); in intel_pt_print_vmcs_info()
2559 struct intel_pt_vmcs_info *vmcs_info, in intel_pt_vm_tm_corr_first_tsc() argument
2569 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_first_tsc()
2570 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2584 if (vmcs_info && vmcs_info->tsc_offset) in intel_pt_vm_tm_corr_first_tsc()
2585 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2595 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_tsc() local
2629 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_tsc()
2635 intel_pt_vm_tm_corr_first_tsc(decoder, data, vmcs_info, host_tsc); in intel_pt_vm_tm_corr_tsc()
2646 if (!vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2670 if (vmcs_info && in intel_pt_vm_tm_corr_tsc()
2672 (vmcs_info->tsc_offset & SEVEN_BYTES)) { in intel_pt_vm_tm_corr_tsc()
2693 if (vmcs_info && vmcs_info->vmcs) { in intel_pt_vm_tm_corr_tsc()
2694 if (vmcs_info->tsc_offset && vmcs_info->reliable) { in intel_pt_vm_tm_corr_tsc()
2712 if (assign && (vmcs_info->tsc_offset != tsc_offset || in intel_pt_vm_tm_corr_tsc()
2713 vmcs_info->reliable != assign_reliable)) { in intel_pt_vm_tm_corr_tsc()
2714 bool print = vmcs_info->tsc_offset != tsc_offset; in intel_pt_vm_tm_corr_tsc()
2716 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()
2719 intel_pt_print_vmcs_info(vmcs_info); in intel_pt_vm_tm_corr_tsc()
2723 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_tsc()
2724 if (!vmcs_info->reliable) in intel_pt_vm_tm_corr_tsc()
2726 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_tsc()
2729 if (vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2730 if (!vmcs_info->error_printed) { in intel_pt_vm_tm_corr_tsc()
2732 vmcs_info->vmcs); in intel_pt_vm_tm_corr_tsc()
2733 vmcs_info->error_printed = true; in intel_pt_vm_tm_corr_tsc()
2749 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_pebs_tsc() local
2756 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_pebs_tsc()
2760 if (!vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2774 if (vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2776 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc()
2780 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2781 vmcs_info->tsc_offset); in intel_pt_vm_tm_corr_pebs_tsc()