Lines Matching refs:l4
83 if (x86_processor->cache.l4.size != 0) { in cpuinfo_x86_count_caches()
84 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor->cache.l4.apic_bits); in cpuinfo_x86_count_caches()
116 struct cpuinfo_cache* l4 = NULL; in cpuinfo_x86_windows_init() local
423 l4 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l4_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
424 if (l4 == NULL) { in cpuinfo_x86_windows_init()
538 if (x86_processor.cache.l4.size != 0) { in cpuinfo_x86_windows_init()
539 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor.cache.l4.apic_bits); in cpuinfo_x86_windows_init()
540 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_windows_init()
544 l4[++l4_index] = (struct cpuinfo_cache) { in cpuinfo_x86_windows_init()
545 .size = x86_processor.cache.l4.size, in cpuinfo_x86_windows_init()
546 .associativity = x86_processor.cache.l4.associativity, in cpuinfo_x86_windows_init()
547 .sets = x86_processor.cache.l4.sets, in cpuinfo_x86_windows_init()
548 .partitions = x86_processor.cache.l4.partitions, in cpuinfo_x86_windows_init()
549 .line_size = x86_processor.cache.l4.line_size, in cpuinfo_x86_windows_init()
550 .flags = x86_processor.cache.l4.flags, in cpuinfo_x86_windows_init()
556 l4[l4_index].processor_count += 1; in cpuinfo_x86_windows_init()
558 processors[i].cache.l4 = &l4[l4_index]; in cpuinfo_x86_windows_init()
575 cpuinfo_cache[cpuinfo_cache_level_4] = l4; in cpuinfo_x86_windows_init()
603 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_windows_init()
630 if (l4 != NULL) { in cpuinfo_x86_windows_init()
631 HeapFree(heap, 0, l4); in cpuinfo_x86_windows_init()