Lines Matching refs:linebuf
93 char linebuf[MAX_LINE_LEN]; in cpufreq_get_sysfs_value_from_table() local
99 len = sysfs_cpufreq_read_file(cpu, table[index], linebuf, in cpufreq_get_sysfs_value_from_table()
100 sizeof(linebuf)); in cpufreq_get_sysfs_value_from_table()
105 value = strtoul(linebuf, &endp, 0); in cpufreq_get_sysfs_value_from_table()
107 if (endp == linebuf || errno == ERANGE) in cpufreq_get_sysfs_value_from_table()
138 char linebuf[MAX_LINE_LEN]; in sysfs_cpufreq_get_one_string() local
146 linebuf, sizeof(linebuf)); in sysfs_cpufreq_get_one_string()
150 result = strdup(linebuf); in sysfs_cpufreq_get_one_string()
275 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_governors() local
280 linebuf, sizeof(linebuf)); in cpufreq_get_available_governors()
286 if (linebuf[i] == ' ' || linebuf[i] == '\n') { in cpufreq_get_available_governors()
307 memcpy(current->governor, linebuf + pos, i - pos); in cpufreq_get_available_governors()
350 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_frequencies() local
355 linebuf, sizeof(linebuf)); in cpufreq_get_available_frequencies()
361 if (linebuf[i] == ' ' || linebuf[i] == '\n') { in cpufreq_get_available_frequencies()
380 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_available_frequencies()
406 char linebuf[MAX_LINE_LEN]; in cpufreq_get_boost_frequencies() local
411 linebuf, sizeof(linebuf)); in cpufreq_get_boost_frequencies()
417 if (linebuf[i] == ' ' || linebuf[i] == '\n') { in cpufreq_get_boost_frequencies()
436 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_boost_frequencies()
482 char linebuf[MAX_LINE_LEN]; in sysfs_get_cpu_list() local
486 len = sysfs_cpufreq_read_file(cpu, file, linebuf, sizeof(linebuf)); in sysfs_get_cpu_list()
492 if (i == len || linebuf[i] == ' ' || linebuf[i] == '\n') { in sysfs_get_cpu_list()
511 memcpy(one_value, linebuf + pos, i - pos); in sysfs_get_cpu_list()
713 char linebuf[MAX_LINE_LEN]; in cpufreq_get_stats() local
718 linebuf, sizeof(linebuf)); in cpufreq_get_stats()
725 if (i == strlen(linebuf) || linebuf[i] == '\n') { in cpufreq_get_stats()
744 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_stats()