Home
last modified time | relevance | path

Searched refs:MAX_LINE_LEN (Results 1 – 7 of 7) sorted by relevance

/tools/power/cpupower/lib/
Dcpupower_intern.h4 #ifndef MAX_LINE_LEN
5 #define MAX_LINE_LEN 4096 macro
Dcpupower.c73 char linebuf[MAX_LINE_LEN]; in cpupower_is_cpu_online()
94 numread = read(fd, linebuf, MAX_LINE_LEN - 1); in cpupower_is_cpu_online()
112 char linebuf[MAX_LINE_LEN]; in sysfs_topology_read_file()
118 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in sysfs_topology_read_file()
Dcpuidle.c139 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_value()
177 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_string()
344 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
Dcpufreq.c92 char linebuf[MAX_LINE_LEN]; in sysfs_cpufreq_get_one_value()
129 char linebuf[MAX_LINE_LEN]; in sysfs_cpufreq_get_one_string()
266 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_governors()
341 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_frequencies()
397 char linebuf[MAX_LINE_LEN]; in cpufreq_get_boost_frequencies()
473 char linebuf[MAX_LINE_LEN]; in sysfs_get_cpu_list()
704 char linebuf[MAX_LINE_LEN]; in cpufreq_get_stats()
/tools/power/cpupower/utils/helpers/
Dsysfs.c53 char linebuf[MAX_LINE_LEN]; in sysfs_is_cpu_online()
74 numread = read(fd, linebuf, MAX_LINE_LEN - 1); in sysfs_is_cpu_online()
209 char linebuf[MAX_LINE_LEN]; in sysfs_idlestate_get_one_value()
247 char linebuf[MAX_LINE_LEN]; in sysfs_idlestate_get_one_string()
414 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
Dmisc.c49 char linebuf[MAX_LINE_LEN]; in cpupower_intel_get_perf_bias()
59 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in cpupower_intel_get_perf_bias()
Dsysfs.h6 #define MAX_LINE_LEN 255 macro