cpu_cache_level
struct cpu_cache_level caches[MAX_CACHE_LVL];
struct cpu_cache_level *caches = env->caches;
void cpu_cache_level__free(struct cpu_cache_level *cache)
struct cpu_cache_level *caches;
void cpu_cache_level__free(struct cpu_cache_level *cache);
struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a;
struct cpu_cache_level *cache_b = (struct cpu_cache_level *)b;
static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b)
static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level)
static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c)
int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp)
struct cpu_cache_level c;
static int build_caches(struct cpu_cache_level caches[], u32 *cntp)
struct cpu_cache_level caches[max_caches];
qsort(&caches, cnt, sizeof(struct cpu_cache_level), cpu_cache_level__sort);
struct cpu_cache_level *c = &caches[i];
struct cpu_cache_level *caches;
struct cpu_cache_level *c = &caches[i];
int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp);