Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/xen/
Dsys-hypervisor.c465 static struct pmu_mode pmu_modes[] = { variable
479 for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) { in pmu_mode_store()
480 if (strncmp(buffer, pmu_modes[i].name, len - 1) == 0) { in pmu_mode_store()
481 xp.val = pmu_modes[i].mode; in pmu_mode_store()
486 if (i == ARRAY_SIZE(pmu_modes)) in pmu_mode_store()
512 for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) { in pmu_mode_show()
513 if (mode == pmu_modes[i].mode) in pmu_mode_show()
514 return sprintf(buffer, "%s\n", pmu_modes[i].name); in pmu_mode_show()