Lines Matching refs:l1d
26 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_mach_init() local
124 if (x86_processor.cache.l1i.size != 0 || x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_mach_init()
211 if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_mach_init()
212 l1d = calloc(l1_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_mach_init()
213 if (l1d == NULL) { in cpuinfo_x86_mach_init()
219 l1d[c] = (struct cpuinfo_cache) { in cpuinfo_x86_mach_init()
220 .size = x86_processor.cache.l1d.size, in cpuinfo_x86_mach_init()
221 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_mach_init()
222 .sets = x86_processor.cache.l1d.sets, in cpuinfo_x86_mach_init()
223 .partitions = x86_processor.cache.l1d.partitions, in cpuinfo_x86_mach_init()
224 .line_size = x86_processor.cache.l1d.line_size, in cpuinfo_x86_mach_init()
225 .flags = x86_processor.cache.l1d.flags, in cpuinfo_x86_mach_init()
231 processors[t].cache.l1d = &l1d[t / threads_per_l1]; in cpuinfo_x86_mach_init()
313 cpuinfo_cache[cpuinfo_cache_level_1d] = l1d; in cpuinfo_x86_mach_init()
344 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_mach_init()
352 free(l1d); in cpuinfo_x86_mach_init()