Home
last modified time | relevance | path

Searched refs:max_processors_count (Results 1 – 8 of 8) sorted by relevance

/external/cpuinfo/src/linux/
Dprocessors.c227 uint32_t cpuinfo_linux_get_max_possible_processor(uint32_t max_processors_count) { in cpuinfo_linux_get_max_possible_processor() argument
237 if (max_possible_processor >= max_processors_count) { in cpuinfo_linux_get_max_possible_processor()
240 max_possible_processor, max_processors_count - 1); in cpuinfo_linux_get_max_possible_processor()
241 max_possible_processor = max_processors_count - 1; in cpuinfo_linux_get_max_possible_processor()
246 uint32_t cpuinfo_linux_get_max_present_processor(uint32_t max_processors_count) { in cpuinfo_linux_get_max_present_processor() argument
256 if (max_present_processor >= max_processors_count) { in cpuinfo_linux_get_max_present_processor()
259 max_present_processor, max_processors_count - 1); in cpuinfo_linux_get_max_present_processor()
260 max_present_processor = max_processors_count - 1; in cpuinfo_linux_get_max_present_processor()
266 uint32_t max_processors_count; member
273 …const uint32_t max_processors_count = ((struct detect_processors_context*) context)->max_process… in detect_processor_parser() local
[all …]
Dapi.h34 CPUINFO_INTERNAL uint32_t cpuinfo_linux_get_max_possible_processor(uint32_t max_processors_count);
35 CPUINFO_INTERNAL uint32_t cpuinfo_linux_get_max_present_processor(uint32_t max_processors_count);
41 CPUINFO_INTERNAL bool cpuinfo_linux_detect_possible_processors(uint32_t max_processors_count,
43 CPUINFO_INTERNAL bool cpuinfo_linux_detect_present_processors(uint32_t max_processors_count,
48 uint32_t max_processors_count,
53 uint32_t max_processors_count,
/external/cpuinfo/src/x86/linux/
Dcpuinfo.c74 uint32_t max_processors_count; member
145 const uint32_t max_processors_count = state->max_processors_count; in parse_line() local
148 if (processor_index < max_processors_count) { in parse_line()
175 if (new_processor_index >= max_processors_count) { in parse_line()
178 new_processor_index, max_processors_count - 1); in parse_line()
197 uint32_t max_processors_count, in cpuinfo_x86_linux_parse_proc_cpuinfo() argument
198 struct cpuinfo_x86_linux_processor processors[restrict static max_processors_count]) in cpuinfo_x86_linux_parse_proc_cpuinfo() argument
202 .max_processors_count = max_processors_count, in cpuinfo_x86_linux_parse_proc_cpuinfo()
Dapi.h19 uint32_t max_processors_count,
20 struct cpuinfo_x86_linux_processor processors[restrict static max_processors_count]);
Dinit.c158 const uint32_t max_processors_count = cpuinfo_linux_get_max_processors_count(); in cpuinfo_x86_linux_init() local
159 cpuinfo_log_debug("system maximum processors count: %"PRIu32, max_processors_count); in cpuinfo_x86_linux_init()
162 cpuinfo_linux_get_max_possible_processor(max_processors_count); in cpuinfo_x86_linux_init()
165 cpuinfo_linux_get_max_present_processor(max_processors_count); in cpuinfo_x86_linux_init()
169 uint32_t x86_linux_processors_count = max_processors_count; in cpuinfo_x86_linux_init()
/external/cpuinfo/src/arm/linux/
Dcpuinfo.c644 uint32_t max_processors_count; member
734 const uint32_t max_processors_count = state->max_processors_count; in parse_line() local
737 if (processor_index < max_processors_count) { in parse_line()
832 if (new_processor_index < max_processors_count) { in parse_line()
838 new_processor_index, max_processors_count - 1); in parse_line()
904 uint32_t max_processors_count, in cpuinfo_arm_linux_parse_proc_cpuinfo() argument
905 struct cpuinfo_arm_linux_processor processors[restrict static max_processors_count]) in cpuinfo_arm_linux_parse_proc_cpuinfo() argument
911 .max_processors_count = max_processors_count, in cpuinfo_arm_linux_parse_proc_cpuinfo()
Dinit.c118 const uint32_t max_processors_count = cpuinfo_linux_get_max_processors_count(); in cpuinfo_arm_linux_init() local
119 cpuinfo_log_debug("system maximum processors count: %"PRIu32, max_processors_count); in cpuinfo_arm_linux_init()
122 cpuinfo_linux_get_max_possible_processor(max_processors_count); in cpuinfo_arm_linux_init()
125 cpuinfo_linux_get_max_present_processor(max_processors_count); in cpuinfo_arm_linux_init()
129 uint32_t arm_linux_processors_count = max_processors_count; in cpuinfo_arm_linux_init()
Dapi.h285 uint32_t max_processors_count,
286 struct cpuinfo_arm_linux_processor processors[restrict static max_processors_count]);