Home
last modified time | relevance | path

Searched refs:l1i_count (Results 1 – 2 of 2) sorted by relevance

/external/cpuinfo/src/x86/linux/
Dinit.c70 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_objects() local
101 l1i_count++; in cpuinfo_x86_count_objects()
137 *l1i_count_ptr = l1i_count; in cpuinfo_x86_count_objects()
250 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_linux_init() local
253 …&cores_count, &clusters_count, &packages_count, &l1i_count, &l1d_count, &l2_count, &l3_count, &l4_… in cpuinfo_x86_linux_init()
258 cpuinfo_log_debug("detected %"PRIu32" L1I caches", l1i_count); in cpuinfo_x86_linux_init()
301 if (l1i_count != 0) { in cpuinfo_x86_linux_init()
302 l1i = calloc(l1i_count, sizeof(struct cpuinfo_cache)); in cpuinfo_x86_linux_init()
305 l1i_count * sizeof(struct cpuinfo_cache), l1i_count); in cpuinfo_x86_linux_init()
586 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1i_count; in cpuinfo_x86_linux_init()
/external/cpuinfo/src/x86/windows/
Dinit.c48 uint32_t l1i_count = 0, l1d_count = 0, l2_count = 0, l3_count = 0, l4_count = 0; in cpuinfo_x86_count_caches() local
59 l1i_count++; in cpuinfo_x86_count_caches()
91 *l1i_count_ptr = l1i_count; in cpuinfo_x86_count_caches()
385 uint32_t l1i_count, l1d_count, l2_count, l3_count, l4_count; in cpuinfo_x86_windows_init() local
387 &l1i_count, &l1d_count, &l2_count, &l3_count, &l4_count); in cpuinfo_x86_windows_init()
390 if (l1i_count != 0) { in cpuinfo_x86_windows_init()
391 l1i = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1i_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
394 l1i_count * sizeof(struct cpuinfo_cache), l1i_count); in cpuinfo_x86_windows_init()
581 cpuinfo_cache_count[cpuinfo_cache_level_1i] = l1i_count; in cpuinfo_x86_windows_init()