Searched refs:cache_size (Results 1 – 8 of 8) sorted by relevance
277 unsigned int cache_size = 0x0UL; in platform_cache_init() local286 …>cpu_cache_dispatch(cpu_data_ptr->cpu_id, CacheConfig, CacheConfigSize, (unsigned int)&cache_size); in platform_cache_init()287 cpuid_cache_info->c_l2size = cache_size; in platform_cache_init()
730 cpu_infop->l1_icache_size = cpuid_infop->cache_size[L1I]; in ml_cpu_get_info_type()731 cpu_infop->l1_dcache_size = cpuid_infop->cache_size[L1D]; in ml_cpu_get_info_type()733 if (cpuid_infop->cache_size[L2U] > 0) { in ml_cpu_get_info_type()735 cpu_infop->l2_cache_size = cpuid_infop->cache_size[L2U]; in ml_cpu_get_info_type()741 if (cpuid_infop->cache_size[L3U] > 0) { in ml_cpu_get_info_type()743 cpu_infop->l3_cache_size = cpuid_infop->cache_size[L3U]; in ml_cpu_get_info_type()
126 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_LLC_info()284 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_cache_list()298 cur->cache_size = cpuid_info()->cache_size[i]; in x86_cache_list()326 && cur_cache->cache_size == matcher->cache_size) { in x86_match_cache()
381 uint32_t cache_size; in cpuid_set_cache_info() local425 cache_size = cache_linesize * cache_sets * in cpuid_set_cache_info()427 info_p->cache_size[type] = cache_size; in cpuid_set_cache_info()433 cache_type_str[type], cache_size); in cpuid_set_cache_info()493 info_p->cache_size[L2U] = info_p->cpuid_cache_size * 1024; in cpuid_set_cache_info()500 info_p->cache_size[L2U]); in cpuid_set_cache_info()
55 uint32_t cache_size; /* total size of cache */ member
312 return cachep ? cachep->cache_size : 0; in ml_cpu_cache_size()
445 uint32_t cache_size[LCACHE_MAX]; member
1724 size_t cache_size; in tcp_cache_init() local1734 cache_size = tcp_cache_roundup2((uint32_t)(sane_size_meg >> 2)); in tcp_cache_init()1735 if (cache_size < 32) { in tcp_cache_init()1736 cache_size = 32; in tcp_cache_init()1737 } else if (cache_size > 1024) { in tcp_cache_init()1738 cache_size = 1024; in tcp_cache_init()1741 tcp_cache = zalloc_permanent(sizeof(struct tcp_cache_head) * cache_size, in tcp_cache_init()1743 tcp_cache_size = cache_size; in tcp_cache_init()1744 tcp_heuristics = zalloc_permanent(sizeof(struct tcp_heuristics_head) * cache_size, in tcp_cache_init()1746 tcp_heuristics_size = cache_size; in tcp_cache_init()