Home
last modified time | relevance | path

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

/tools/power/cpupower/lib/
A Dcpupower_intern.h4 #ifndef MAX_LINE_LEN
5 #define MAX_LINE_LEN 4096 macro
A Dpowercap.h17 #define MAX_LINE_LEN 4096 macro
23 char name[MAX_LINE_LEN];
A Dcpupower.c81 char linebuf[MAX_LINE_LEN]; in cpupower_is_cpu_online()
102 numread = read(fd, linebuf, MAX_LINE_LEN - 1); in cpupower_is_cpu_online()
120 char linebuf[MAX_LINE_LEN]; in sysfs_topology_read_file()
126 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in sysfs_topology_read_file()
A Dcpuidle.c141 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_value()
179 char linebuf[MAX_LINE_LEN]; in cpuidle_state_get_one_string()
352 char linebuf[MAX_LINE_LEN]; in sysfs_cpuidle_get_one_string()
A Dpowercap.c130 char buf[MAX_LINE_LEN]; in sysfs_powercap_get64_val()
136 ret = sysfs_read_file(file, buf, MAX_LINE_LEN); in sysfs_powercap_get64_val()
208 sysfs_read_file(file, zone->name, MAX_LINE_LEN); in powercap_read_zone()
A Dacpi_cppc.c42 char linebuf[MAX_LINE_LEN]; in acpi_cppc_get_data()
A Dcpufreq.c93 char linebuf[MAX_LINE_LEN]; in cpufreq_get_sysfs_value_from_table()
144 char linebuf[MAX_LINE_LEN]; in sysfs_cpufreq_get_one_string()
293 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_governors()
368 char linebuf[MAX_LINE_LEN]; in cpufreq_get_available_frequencies()
424 char linebuf[MAX_LINE_LEN]; in cpufreq_get_boost_frequencies()
500 char linebuf[MAX_LINE_LEN]; in sysfs_get_cpu_list()
731 char linebuf[MAX_LINE_LEN]; in cpufreq_get_stats()
/tools/testing/selftests/mseal_system_mappings/
A Dsysmap_is_sealed.c19 #define MAX_LINE_LEN 512 macro
23 char line[MAX_LINE_LEN]; in has_mapping()
35 char line[MAX_LINE_LEN]; in mapping_is_sealed()
/tools/power/cpupower/utils/
A Dpowercap-info.c58 char line[MAX_LINE_LEN] = ""; in powercap_show()
61 ret = powercap_get_driver(line, MAX_LINE_LEN); in powercap_show()
/tools/power/cpupower/utils/helpers/
A 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()
A Dsysfs.h6 #define MAX_LINE_LEN 255 macro
A Dmisc.c53 char linebuf[MAX_LINE_LEN]; in cpupower_intel_get_perf_bias()
63 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in cpupower_intel_get_perf_bias()
/tools/testing/selftests/x86/
A Dtest_mremap_vdso.c62 #define MAX_LINE_LEN 512 macro
66 char line[MAX_LINE_LEN]; in vdso_sealed()
/tools/power/cpupower/utils/idle_monitor/
A Drapl_monitor.c105 char line[MAX_LINE_LEN] = ""; in rapl_register()
108 ret = powercap_get_driver(line, MAX_LINE_LEN); in rapl_register()
/tools/power/cpupower/bindings/python/
A Draw_pylibcpupower.swg18 #define MAX_LINE_LEN 4096
216 char name[MAX_LINE_LEN];

Completed in 17 milliseconds