Lines Matching refs:l1i
55 if (x86_processor->cache.l1i.size != 0) { in cpuinfo_x86_count_caches()
56 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor->cache.l1i.apic_bits); in cpuinfo_x86_count_caches()
112 struct cpuinfo_cache* l1i = NULL; in cpuinfo_x86_windows_init() local
391 l1i = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1i_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
392 if (l1i == NULL) { in cpuinfo_x86_windows_init()
438 if (x86_processor.cache.l1i.size != 0) { in cpuinfo_x86_windows_init()
439 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor.cache.l1i.apic_bits); in cpuinfo_x86_windows_init()
440 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_windows_init()
444 l1i[++l1i_index] = (struct cpuinfo_cache) { in cpuinfo_x86_windows_init()
445 .size = x86_processor.cache.l1i.size, in cpuinfo_x86_windows_init()
446 .associativity = x86_processor.cache.l1i.associativity, in cpuinfo_x86_windows_init()
447 .sets = x86_processor.cache.l1i.sets, in cpuinfo_x86_windows_init()
448 .partitions = x86_processor.cache.l1i.partitions, in cpuinfo_x86_windows_init()
449 .line_size = x86_processor.cache.l1i.line_size, in cpuinfo_x86_windows_init()
450 .flags = x86_processor.cache.l1i.flags, in cpuinfo_x86_windows_init()
456 l1i[l1i_index].processor_count += 1; in cpuinfo_x86_windows_init()
458 processors[i].cache.l1i = &l1i[l1i_index]; in cpuinfo_x86_windows_init()
571 cpuinfo_cache[cpuinfo_cache_level_1i] = l1i; in cpuinfo_x86_windows_init()
603 l1i = l1d = l2 = l3 = l4 = NULL; in cpuinfo_x86_windows_init()
618 if (l1i != NULL) { in cpuinfo_x86_windows_init()
619 HeapFree(heap, 0, l1i); in cpuinfo_x86_windows_init()