Lines Matching refs:caches
1092 static int build_caches(struct cpu_cache_level caches[], u32 size, u32 *cntp) in build_caches() argument
1118 if (cpu_cache_level__cmp(&c, &caches[i])) in build_caches()
1123 caches[cnt++] = c; in build_caches()
1142 struct cpu_cache_level caches[max_caches]; in write_cache() local
1146 ret = build_caches(caches, max_caches, &cnt); in write_cache()
1150 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); in write_cache()
1161 struct cpu_cache_level *c = &caches[i]; in write_cache()
1187 cpu_cache_level__free(&caches[i]); in write_cache()
1773 cpu_cache_level__fprintf(fp, &ff->ph->env.caches[i]); in print_cache()
2531 struct cpu_cache_level *caches; in process_cache() local
2543 caches = zalloc(sizeof(*caches) * cnt); in process_cache()
2544 if (!caches) in process_cache()
2570 caches[i] = c; in process_cache()
2573 ff->ph->env.caches = caches; in process_cache()
2577 free(caches); in process_cache()