Lines Matching defs:map
138 struct pmu_events_map *map;
140 for (map = &pmu_events_map[0]; map->cpuid; map++) {
141 if (!strcmp(map->cpuid, "testcpu"))
142 return map;
145 pr_err("could not find test events map\n");
153 struct pmu_events_map *map = __test_pmu_get_events_map();
161 if (!map)
164 for (table = map->table; table->name; table++) {
276 struct pmu_events_map *map = __test_pmu_get_events_map();
279 if (!map)
296 pmu_add_cpu_aliases_map(&aliases, pmu, map);
451 const struct pmu_events_map *map,
454 pr_debug("%s for map %s %s %s\n",
455 msg, map->cpuid, map->version, map->type);
463 struct pmu_events_map *map;
472 map = &pmu_events_map[i++];
473 if (!map->table)
480 pe = &map->table[j++];
488 expr_failure("Parse other failed", map, pe);
503 if (check_parse_cpu(cur->key, map == cpus_map,
509 expr_failure("Parse failed", map, pe);
581 struct pmu_events_map *map;
594 map = &pmu_events_map[i++];
595 if (!map->table)
599 pe = &map->table[j++];
623 .desc = "PMU event map aliases",