Home
last modified time | relevance | path

Searched refs:kernel_max (Results 1 – 2 of 2) sorted by relevance

/external/cpuinfo/src/linux/
Dprocessors.c90 uint32_t kernel_max = 0; in uint32_parser() local
91 const char* parsed_end = parse_number(text_start, text_end, &kernel_max); in uint32_parser()
107 *kernel_max_ptr = kernel_max; in uint32_parser()
112 uint32_t kernel_max; in cpuinfo_linux_get_max_processors_count() local
113 …nfo_linux_parse_small_file(KERNEL_MAX_FILENAME, KERNEL_MAX_FILESIZE, uint32_parser, &kernel_max)) { in cpuinfo_linux_get_max_processors_count()
114 …cpuinfo_log_debug("parsed kernel_max value of %"PRIu32" from %s", kernel_max, KERNEL_MAX_FILENAME); in cpuinfo_linux_get_max_processors_count()
116 if (kernel_max >= default_max_processors_count) { in cpuinfo_linux_get_max_processors_count()
118 kernel_max, KERNEL_MAX_FILENAME, default_max_processors_count - 1); in cpuinfo_linux_get_max_processors_count()
121 return kernel_max + 1; in cpuinfo_linux_get_max_processors_count()
/external/cpuinfo/scripts/
Dandroid-device-dump.py337 kernel_max = 0
356 kernel_max = int(content.strip())
368 for cpu in range(kernel_max + 1):