Lines Matching refs:l1d
104 if (processor->cache.l1d.size != 0) { in cpuinfo_x86_count_objects()
105 const uint32_t l1d_id = apic_id & ~bit_mask(processor->cache.l1d.apic_bits); in cpuinfo_x86_count_objects()
153 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_linux_init() local
246 } else if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_linux_init()
247 llc_apic_bits = x86_processor.cache.l1d.apic_bits; in cpuinfo_x86_linux_init()
310 l1d = calloc(l1d_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
311 if (l1d == NULL) { in cpuinfo_x86_linux_init()
468 if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_linux_init()
469 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_linux_init()
470 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_linux_init()
474 l1d[++l1d_index] = (struct cpuinfo_cache) { in cpuinfo_x86_linux_init()
475 .size = x86_processor.cache.l1d.size, in cpuinfo_x86_linux_init()
476 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_linux_init()
477 .sets = x86_processor.cache.l1d.sets, in cpuinfo_x86_linux_init()
478 .partitions = x86_processor.cache.l1d.partitions, in cpuinfo_x86_linux_init()
479 .line_size = x86_processor.cache.l1d.line_size, in cpuinfo_x86_linux_init()
480 .flags = x86_processor.cache.l1d.flags, in cpuinfo_x86_linux_init()
486 l1d[l1d_index].processor_count += 1; in cpuinfo_x86_linux_init()
488 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_linux_init()
577 cpuinfo_cache[cpuinfo_cache_level_1d] = l1d; in cpuinfo_x86_linux_init()
612 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_linux_init()
623 free(l1d); in cpuinfo_x86_linux_init()