Searched refs:cacheconfig_size (Results 1 – 1 of 1) sorted by relevance
52 size_t cacheconfig_size = 0; in cpuinfo_mach_detect_topology() local53 if (sysctlbyname("hw.cacheconfig", NULL, &cacheconfig_size, NULL, 0) != 0) { in cpuinfo_mach_detect_topology()56 uint64_t* cacheconfig = alloca(cacheconfig_size); in cpuinfo_mach_detect_topology()57 if (sysctlbyname("hw.cacheconfig", cacheconfig, &cacheconfig_size, NULL, 0) != 0) { in cpuinfo_mach_detect_topology()60 size_t cache_configs = cacheconfig_size / sizeof(uint64_t); in cpuinfo_mach_detect_topology()