Searched refs:cache_level (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dproc64_id.c57 int cache_level; local
87 cache_level = (cpuid_info.eax >> 0x5) & 0x7;
94 if (cache_level == 1) {
97 if (cache_level == 2) {
100 if (cache_level > largest_cache_level) {
101 largest_cache_level = cache_level;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c236 uint64_t cache_level; local
239 if (md_get_prop_val(mdp, cachelist[i], "level", &cache_level))
242 if (cache_level != 2)
965 uint64_t cache_level = 0; local
981 if (md_get_prop_val(mdp, cachelist[i], "level", &cache_level))
984 if (cache_level != 2) continue;
1011 return ((cache_level == 2) ? 1 : 0);

Completed in 91 milliseconds