Searched refs:max_cache_level (Results 1 – 9 of 9) sorted by relevance
75 uint16_t max_cache_level; in get_prefetch_L3_size() local84 max_cache_level = stress_get_max_cache_level(cpu_caches); in get_prefetch_L3_size()85 if ((max_cache_level > 0) && (max_cache_level < 3) && (!args->instance)) in get_prefetch_L3_size()87 args->name, max_cache_level); in get_prefetch_L3_size()89 cache = stress_get_cpu_cache(cpu_caches, max_cache_level); in get_prefetch_L3_size()
375 uint16_t max_cache_level; in get_stream_L3_size() local384 max_cache_level = stress_get_max_cache_level(cpu_caches); in get_stream_L3_size()385 if ((max_cache_level > 0) && (max_cache_level < 3) && (!args->instance)) in get_stream_L3_size()387 args->name, max_cache_level); in get_stream_L3_size()389 cache = stress_get_cpu_cache(cpu_caches, max_cache_level); in get_stream_L3_size()
1162 uint16_t max_cache_level = 0; in stress_cache_alloc() local1176 max_cache_level = stress_get_max_cache_level(cpu_caches); in stress_cache_alloc()1177 if (max_cache_level == 0) { in stress_cache_alloc()1183 if (g_shared->mem_cache_level > max_cache_level) { in stress_cache_alloc()1186 max_cache_level); in stress_cache_alloc()1187 g_shared->mem_cache_level = max_cache_level; in stress_cache_alloc()
199 for(int i=0; i < topo->cach->max_cache_level; i++) { in max_apic_id_size()237 for(int i=0; i < topo->cach->max_cache_level; i++) { in build_topo_from_apic()264 for(int i=0; i < topo->cach->max_cache_level; i++) { in get_cache_topology_from_apic()353 cache_smt_id_apic[i] = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()354 cache_id_apic[i] = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()356 topo->apic->cache_select_mask = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()357 topo->apic->cache_id_apic = emalloc(sizeof(uint32_t) * (topo->cach->max_cache_level)); in get_topology_from_apic()380 for(int c=0; c < topo->cach->max_cache_level; c++) { in get_topology_from_apic()
574 cach->max_cache_level = 4; in get_cache_info_amd_fallback()576 cach->max_cache_level = 3; in get_cache_info_amd_fallback()608 cach->max_cache_level++; in get_cache_info_general()640 cach->max_cache_level--; in get_cache_info_general()901 for(uint32_t reg2=0x00000000; reg2 < cpu->cach->max_cache_level; reg2++) { in print_raw()937 for(uint32_t reg2=0x00000000; reg2 < cpu->cach->max_cache_level; reg2++) { in print_raw()
26 cach->max_cache_level = 1; in get_cache_info()31 cach->max_cache_level = 2; in get_cache_info()36 cach->max_cache_level = 3; in get_cache_info()41 cach->max_cache_level = 4; in get_cache_info()
67 uint8_t max_cache_level; member
214 cach->max_cache_level = 0; in init_cache_struct()
31 cach->max_cache_level = 2; in get_cache_info()32 for(int i=0; i < cach->max_cache_level + 1; i++) { in get_cache_info()