Lines Matching defs:cpuinfo
37 * the "Features" field in /proc/cpuinfo.
40 * of /proc/cpuinfo to deal with newer hardware.
147 /* Read the content of /proc/cpuinfo into a user-provided buffer.
182 * the content of /proc/cpuinfo and return it as a heap-allocated
499 char* cpuinfo = NULL;
508 cpuinfo_len = get_file_size("/proc/cpuinfo");
513 cpuinfo = malloc(cpuinfo_len);
514 if (cpuinfo == NULL) {
515 D("cpuinfo buffer could not be allocated");
518 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len);
520 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo);
523 free(cpuinfo);
548 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture");
579 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len,
696 free(cpuinfo);
778 * /proc/cpuinfo). Always try to use the full designation when