Lines Matching defs:index
55 * - There are three types of index to access perf counters (PMC):
63 * that it also supports fixed counters. idx can be used to as index to
65 * 3. Global PMC Index (named pmc): pmc is an index specific to PMU
323 int i, index;
325 index = find_filter_index(events, nevents, event_select);
326 if (index < 0)
333 for (i = index; i < nevents; i++) {
341 for (i = index - 1; i >= 0; i--) {
479 /* check if idx is a valid index to access PMU */
579 u32 msr = msr_info->index;
604 u32 msr = msr_info->index;
653 kvm_pmu_mark_pmc_in_use(vcpu, msr_info->index);