Lines Matching full:records
134 struct x86_pmu_lbr *records = vcpu_to_lbr_records(vcpu); in intel_pmu_is_valid_lbr_msr() local
141 (index >= records->from && index < records->from + records->nr) || in intel_pmu_is_valid_lbr_msr()
142 (index >= records->to && index < records->to + records->nr); in intel_pmu_is_valid_lbr_msr()
144 if (!ret && records->info) in intel_pmu_is_valid_lbr_msr()
145 ret = (index >= records->info && index < records->info + records->nr); in intel_pmu_is_valid_lbr_msr()
223 * event, which helps KVM to save/restore guest LBR records in intel_pmu_create_guest_lbr_event()
259 * the LBR msrs records when the guest LBR event is scheduled in.
469 memset(&lbr_desc->records, 0, sizeof(lbr_desc->records)); in intel_pmu_refresh()
547 memcpy(&lbr_desc->records, &vmx_lbr_caps, sizeof(vmx_lbr_caps)); in intel_pmu_refresh()
549 lbr_desc->records.nr = 0; in intel_pmu_refresh()
551 if (lbr_desc->records.nr) in intel_pmu_refresh()
588 lbr_desc->records.nr = 0; in intel_pmu_init()