pmu_modes         409 drivers/xen/sys-hypervisor.c static struct pmu_mode pmu_modes[] = {
pmu_modes         423 drivers/xen/sys-hypervisor.c 	for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) {
pmu_modes         424 drivers/xen/sys-hypervisor.c 		if (strncmp(buffer, pmu_modes[i].name, len - 1) == 0) {
pmu_modes         425 drivers/xen/sys-hypervisor.c 			xp.val = pmu_modes[i].mode;
pmu_modes         430 drivers/xen/sys-hypervisor.c 	if (i == ARRAY_SIZE(pmu_modes))
pmu_modes         456 drivers/xen/sys-hypervisor.c 	for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) {
pmu_modes         457 drivers/xen/sys-hypervisor.c 		if (mode == pmu_modes[i].mode)
pmu_modes         458 drivers/xen/sys-hypervisor.c 			return sprintf(buffer, "%s\n", pmu_modes[i].name);