Lines Matching refs:a
1118 static int cpu_cache_level__sort(const void *a, const void *b) in cpu_cache_level__sort() argument
1120 struct cpu_cache_level *cache_a = (struct cpu_cache_level *)a; in cpu_cache_level__sort()
1126 static bool cpu_cache_level__cmp(struct cpu_cache_level *a, struct cpu_cache_level *b) in cpu_cache_level__cmp() argument
1128 if (a->level != b->level) in cpu_cache_level__cmp()
1131 if (a->line_size != b->line_size) in cpu_cache_level__cmp()
1134 if (a->sets != b->sets) in cpu_cache_level__cmp()
1137 if (a->ways != b->ways) in cpu_cache_level__cmp()
1140 if (strcmp(a->type, b->type)) in cpu_cache_level__cmp()
1143 if (strcmp(a->size, b->size)) in cpu_cache_level__cmp()
1146 if (strcmp(a->map, b->map)) in cpu_cache_level__cmp()
1396 static int memory_node__sort(const void *a, const void *b) in memory_node__sort() argument
1398 const struct memory_node *na = a; in memory_node__sort()