amd_event_mapping 36 arch/x86/kvm/pmu_amd.c static struct kvm_event_hw_type_mapping amd_event_mapping[] = { amd_event_mapping 135 arch/x86/kvm/pmu_amd.c for (i = 0; i < ARRAY_SIZE(amd_event_mapping); i++) amd_event_mapping 136 arch/x86/kvm/pmu_amd.c if (amd_event_mapping[i].eventsel == event_select amd_event_mapping 137 arch/x86/kvm/pmu_amd.c && amd_event_mapping[i].unit_mask == unit_mask) amd_event_mapping 140 arch/x86/kvm/pmu_amd.c if (i == ARRAY_SIZE(amd_event_mapping)) amd_event_mapping 143 arch/x86/kvm/pmu_amd.c return amd_event_mapping[i].event_type;