Searched refs:cpu_cache_level (Results 1 – 3 of 3) sorted by relevance
17 struct cpu_cache_level { struct67 struct cpu_cache_level *caches;109 void cpu_cache_level__free(struct cpu_cache_level *cache);
999 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()1000 struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b; in cpu_cache_level__sort()1005 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp()1031 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read()1087 static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c) in cpu_cache_level__fprintf()1092 static int build_caches(struct cpu_cache_level caches[], u32 size, u32 *cntp) in build_caches()1107 struct cpu_cache_level c; in build_caches()1142 struct cpu_cache_level caches[max_caches]; 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()[all …]
290 void cpu_cache_level__free(struct cpu_cache_level *cache) in cpu_cache_level__free()