Lines Matching refs:line
32 char *cp, *line = NULL, *line2;
41 * Scan /proc/sysinfo line by line and read out values for
60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) {
61 if (!strncmp(line, SYSINFO_MANU, strlen(SYSINFO_MANU))) {
62 line2 = line + strlen(SYSINFO_MANU);
70 if (!strncmp(line, SYSINFO_TYPE, strlen(SYSINFO_TYPE))) {
71 line2 = line + strlen(SYSINFO_TYPE);
79 if (!strncmp(line, SYSINFO_MODEL, strlen(SYSINFO_MODEL))) {
80 line2 = line + strlen(SYSINFO_MODEL);
103 while ((read = getline(&line, &line_sz, sysinfo)) != -1) {
104 if (strncmp(line, SRVLVL_CPUMF, strlen(SRVLVL_CPUMF)))
107 line2 = line + strlen(SRVLVL_CPUMF);
128 free(line);