Home
last modified time | relevance | path

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

/Linux-v5.4/tools/power/cpupower/lib/
Dcpufreq.c340 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_frequencies() local
374 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_frequencies()
375 one_value[i - pos] = '\0'; in cpufreq_get_frequencies()
376 if (sscanf(one_value, "%lu", &current->frequency) != 1) in cpufreq_get_frequencies()
414 char one_value[SYSFS_PATH_MAX]; in sysfs_get_cpu_list() local
444 memcpy(one_value, linebuf + pos, i - pos); in sysfs_get_cpu_list()
445 one_value[i - pos] = '\0'; in sysfs_get_cpu_list()
447 if (sscanf(one_value, "%u", &current->cpu) != 1) in sysfs_get_cpu_list()
645 char one_value[SYSFS_PATH_MAX]; in cpufreq_get_stats() local
677 memcpy(one_value, linebuf + pos, i - pos); in cpufreq_get_stats()
[all …]