Lines Matching refs:cpu_cache_level
1065 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()
1066 struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b; in cpu_cache_level__sort()
1071 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp()
1097 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read()
1153 static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c) in cpu_cache_level__fprintf()
1160 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches()
1170 struct cpu_cache_level c; in build_caches()
1199 struct cpu_cache_level caches[max_caches]; 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()
2799 struct cpu_cache_level *caches; in process_cache()
2816 struct cpu_cache_level c; in process_cache()