Searched refs:cpu_cache_level (Results 1 – 3 of 3) sorted by relevance
18 struct cpu_cache_level { struct86 struct cpu_cache_level *caches;159 void cpu_cache_level__free(struct cpu_cache_level *cache);
1116 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()1117 struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b; in cpu_cache_level__sort()1122 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp()1148 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read()1204 static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c) in cpu_cache_level__fprintf()1211 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches()1221 struct cpu_cache_level c; in build_caches()1250 struct cpu_cache_level caches[max_caches]; in write_cache()1258 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); in write_cache()1269 struct cpu_cache_level *c = &caches[i]; in write_cache()[all …]
401 void cpu_cache_level__free(struct cpu_cache_level *cache) in cpu_cache_level__free()