Lines Matching refs:l1d
62 if (x86_processor->cache.l1d.size != 0) { in cpuinfo_x86_count_caches()
63 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor->cache.l1d.apic_bits); in cpuinfo_x86_count_caches()
113 struct cpuinfo_cache* l1d = NULL; in cpuinfo_x86_windows_init() local
399 l1d = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1d_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
400 if (l1d == NULL) { in cpuinfo_x86_windows_init()
463 if (x86_processor.cache.l1d.size != 0) { in cpuinfo_x86_windows_init()
464 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_windows_init()
465 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_windows_init()
469 l1d[++l1d_index] = (struct cpuinfo_cache) { in cpuinfo_x86_windows_init()
470 .size = x86_processor.cache.l1d.size, in cpuinfo_x86_windows_init()
471 .associativity = x86_processor.cache.l1d.associativity, in cpuinfo_x86_windows_init()
472 .sets = x86_processor.cache.l1d.sets, in cpuinfo_x86_windows_init()
473 .partitions = x86_processor.cache.l1d.partitions, in cpuinfo_x86_windows_init()
474 .line_size = x86_processor.cache.l1d.line_size, in cpuinfo_x86_windows_init()
475 .flags = x86_processor.cache.l1d.flags, in cpuinfo_x86_windows_init()
481 l1d[l1d_index].processor_count += 1; in cpuinfo_x86_windows_init()
483 processors[i].cache.l1d = &l1d[l1d_index]; in cpuinfo_x86_windows_init()
572 cpuinfo_cache[cpuinfo_cache_level_1d] = l1d; in cpuinfo_x86_windows_init()
603 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_windows_init()
621 if (l1d != NULL) { in cpuinfo_x86_windows_init()
622 HeapFree(heap, 0, l1d); in cpuinfo_x86_windows_init()