Lines Matching refs:cachesize
130 static uint64_t cacheconfig[10], cachesize[10];
348 SYSCTL_OPAQUE (_hw, OID_AUTO, cachesize, CTLFLAG_RD, &cachesize, sizeof(cachesize), "Q", "");
577 /* hw.cachesize */
578 cachesize[0] = max_mem;
579 cachesize[1] = cpu_info.l1_dcache_size;
580 cachesize[2] = cpu_info.l2_settings ? cpu_info.l2_cache_size : 0;
581 cachesize[3] = cpu_info.l3_settings ? cpu_info.l3_cache_size : 0;
582 cachesize[4] = 0;
587 cacheconfig[2] = cachesize[2] ? 1 : 0;
588 cacheconfig[3] = cachesize[3] ? 1 : 0;
642 /* hw.cachesize */
643 cachesize[0] = ml_cpu_cache_size(0);
644 cachesize[1] = ml_cpu_cache_size(1);
645 cachesize[2] = ml_cpu_cache_size(2);
646 cachesize[3] = ml_cpu_cache_size(3);
647 cachesize[4] = 0;