Lines Matching full:records
52 return &to_vmx(vcpu)->lbr_desc.records; in vcpu_to_lbr_records()
170 struct x86_pmu_lbr *records = vcpu_to_lbr_records(vcpu); in intel_pmu_is_valid_lbr_msr() local
177 (index >= records->from && index < records->from + records->nr) || in intel_pmu_is_valid_lbr_msr()
178 (index >= records->to && index < records->to + records->nr); in intel_pmu_is_valid_lbr_msr()
180 if (!ret && records->info) in intel_pmu_is_valid_lbr_msr()
181 ret = (index >= records->info && index < records->info + records->nr); in intel_pmu_is_valid_lbr_msr()
262 * event, which helps KVM to save/restore guest LBR records in intel_pmu_create_guest_lbr_event()
301 * the LBR msrs records when the guest LBR event is scheduled in.
514 memset(&lbr_desc->records, 0, sizeof(lbr_desc->records)); in intel_pmu_refresh()
555 memcpy(&lbr_desc->records, &vmx_lbr_caps, sizeof(vmx_lbr_caps)); in intel_pmu_refresh()
557 lbr_desc->records.nr = 0; in intel_pmu_refresh()
559 if (lbr_desc->records.nr) in intel_pmu_refresh()
627 lbr_desc->records.nr = 0; in intel_pmu_init()