Lines Matching defs:caches
1128 static int build_caches(struct cpu_cache_level caches[], u32 *cntp)
1149 if (cpu_cache_level__cmp(&c, &caches[i]))
1154 caches[cnt++] = c;
1167 struct cpu_cache_level caches[max_caches];
1171 ret = build_caches(caches, &cnt);
1175 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort);
1186 struct cpu_cache_level *c = &caches[i];
1212 cpu_cache_level__free(&caches[i]);
1910 cpu_cache_level__fprintf(fp, &ff->ph->env.caches[i]);
2691 struct cpu_cache_level *caches;
2703 caches = zalloc(sizeof(*caches) * cnt);
2704 if (!caches)
2730 caches[i] = c;
2733 ff->ph->env.caches = caches;
2737 free(caches);