• Home
  • Raw
  • Download

Lines Matching refs:max_cpuid_leaf

164 static Leaf SafeCpuIdEx(uint32_t max_cpuid_leaf, uint32_t leaf_id, int ecx) {  in SafeCpuIdEx()  argument
165 if (leaf_id <= max_cpuid_leaf) { in SafeCpuIdEx()
172 static Leaf SafeCpuId(uint32_t max_cpuid_leaf, uint32_t leaf_id) { in SafeCpuId() argument
173 return SafeCpuIdEx(max_cpuid_leaf, leaf_id, 0); in SafeCpuId()
1123 static void ParseLeaf2(const int max_cpuid_leaf, CacheInfo* info) { in ParseLeaf2() argument
1124 Leaf leaf = SafeCpuId(max_cpuid_leaf, 2); in ParseLeaf2()
1141 static void ParseLeaf4(const int max_cpuid_leaf, CacheInfo* info) { in ParseLeaf4() argument
1144 const Leaf leaf = SafeCpuIdEx(max_cpuid_leaf, 4, cache_id); in ParseLeaf4()
1179 static OsSupport CheckOsSupport(const uint32_t max_cpuid_leaf) { in CheckOsSupport() argument
1180 const Leaf leaf_1 = SafeCpuId(max_cpuid_leaf, 1); in CheckOsSupport()
1273 static void ParseCpuId(const uint32_t max_cpuid_leaf, in ParseCpuId() argument
1275 const Leaf leaf_1 = SafeCpuId(max_cpuid_leaf, 1); in ParseCpuId()
1276 const Leaf leaf_7 = SafeCpuId(max_cpuid_leaf, 7); in ParseCpuId()
1277 const Leaf leaf_7_1 = SafeCpuIdEx(max_cpuid_leaf, 7, 1); in ParseCpuId()
1392 const uint32_t max_cpuid_leaf = leaf_0.eax; in GetX86Info() local
1393 const OsSupport os_support = CheckOsSupport(max_cpuid_leaf); in GetX86Info()
1394 ParseCpuId(max_cpuid_leaf, os_support, &info); in GetX86Info()
1405 const uint32_t max_cpuid_leaf = leaf_0.eax; in GetX86CacheInfo() local
1407 ParseLeaf2(max_cpuid_leaf, &info); in GetX86CacheInfo()
1408 ParseLeaf4(max_cpuid_leaf, &info); in GetX86CacheInfo()