Home
last modified time | relevance | path

Searched refs:NR_RAPL_PKG_DOMAINS (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/events/
H A Drapl.c86 NR_RAPL_PKG_DOMAINS = PERF_RAPL_PKG_EVENTS_MAX, enumerator
93 static const char *const rapl_pkg_domain_names[NR_RAPL_PKG_DOMAINS] __initconst = {
163 static int rapl_pkg_hw_unit[NR_RAPL_PKG_DOMAINS] __read_mostly;
394 cfg = array_index_nospec((long)cfg, NR_RAPL_PKG_DOMAINS + 1); in rapl_pmu_event_init()
395 if (!cfg || cfg >= NR_RAPL_PKG_DOMAINS + 1) in rapl_pmu_event_init()
402 if (!cfg || cfg >= NR_RAPL_PKG_DOMAINS + 1) in rapl_pmu_event_init()
617 for (i = 0; i < NR_RAPL_PKG_DOMAINS; i++) in rapl_check_hw_unit()
666 for (i = 0; i < NR_RAPL_PKG_DOMAINS; i++) { in rapl_advertise()