Searched refs:cpu_cache_level (Results 1 – 3 of 3) sorted by relevance
17 struct cpu_cache_level { struct85 struct cpu_cache_level *caches;158 void cpu_cache_level__free(struct cpu_cache_level *cache);
1064 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()1065 struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b; in cpu_cache_level__sort()1070 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp()1096 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read()1152 static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c) in cpu_cache_level__fprintf()1159 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches()1169 struct cpu_cache_level c; in build_caches()1198 struct cpu_cache_level caches[max_caches]; in write_cache()1206 qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort); in write_cache()1217 struct cpu_cache_level *c = &caches[i]; in write_cache()[all …]
395 void cpu_cache_level__free(struct cpu_cache_level *cache) in cpu_cache_level__free()