Lines Matching refs:l3
118 if (processor->cache.l3.size != 0) { in cpuinfo_x86_count_objects()
119 const uint32_t l3_id = apic_id & ~bit_mask(processor->cache.l3.apic_bits); in cpuinfo_x86_count_objects()
155 struct cpuinfo_cache* l3 = NULL; in cpuinfo_x86_linux_init() local
242 } else if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_linux_init()
243 llc_apic_bits = x86_processor.cache.l3.apic_bits; in cpuinfo_x86_linux_init()
326 l3 = calloc(l3_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
327 if (l3 == NULL) { in cpuinfo_x86_linux_init()
518 if (x86_processor.cache.l3.size != 0) { in cpuinfo_x86_linux_init()
519 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor.cache.l3.apic_bits); in cpuinfo_x86_linux_init()
520 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_linux_init()
524 l3[++l3_index] = (struct cpuinfo_cache) { in cpuinfo_x86_linux_init()
525 .size = x86_processor.cache.l3.size, in cpuinfo_x86_linux_init()
526 .associativity = x86_processor.cache.l3.associativity, in cpuinfo_x86_linux_init()
527 .sets = x86_processor.cache.l3.sets, in cpuinfo_x86_linux_init()
528 .partitions = x86_processor.cache.l3.partitions, in cpuinfo_x86_linux_init()
529 .line_size = x86_processor.cache.l3.line_size, in cpuinfo_x86_linux_init()
530 .flags = x86_processor.cache.l3.flags, in cpuinfo_x86_linux_init()
536 l3[l3_index].processor_count += 1; in cpuinfo_x86_linux_init()
538 processors[i].cache.l3 = &l3[l3_index]; in cpuinfo_x86_linux_init()
579 cpuinfo_cache[cpuinfo_cache_level_3] = l3; in cpuinfo_x86_linux_init()
612 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_linux_init()
625 free(l3); in cpuinfo_x86_linux_init()