Lines Matching refs:caches
1160 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument
1181 if (cpu_cache_level__cmp(&c, &caches[i])) in build_caches()
1186 caches[cnt++] = c; in build_caches()
1199 struct cpu_cache_level caches[max_caches]; in write_cache() local
1203 ret = build_caches(caches, &cnt); in write_cache()
1207 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); in write_cache()
1218 struct cpu_cache_level *c = &caches[i]; in write_cache()
1244 cpu_cache_level__free(&caches[i]); in write_cache()
1992 cpu_cache_level__fprintf(fp, &ff->ph->env.caches[i]); in print_cache()
2799 struct cpu_cache_level *caches; in process_cache() local
2811 caches = zalloc(sizeof(*caches) * cnt); in process_cache()
2812 if (!caches) in process_cache()
2838 caches[i] = c; in process_cache()
2841 ff->ph->env.caches = caches; in process_cache()
2845 free(caches); in process_cache()