Searched refs:cpu_cache_level (Results 1 – 3 of 3) sorted by relevance
17 struct cpu_cache_level { struct70 struct cpu_cache_level *caches;135 void cpu_cache_level__free(struct cpu_cache_level *cache);
1033 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()1034 struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b; in cpu_cache_level__sort()1039 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp()1065 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read()1121 static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c) in cpu_cache_level__fprintf()1128 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches()1138 struct cpu_cache_level c; in build_caches()1167 struct cpu_cache_level caches[max_caches]; in write_cache()1175 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); in write_cache()1186 struct cpu_cache_level *c = &caches[i]; in write_cache()[all …]
315 void cpu_cache_level__free(struct cpu_cache_level *cache) in cpu_cache_level__free()