Home
last modified time | relevance | path

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

/tools/power/cpupower/lib/
Dcpupower.c53 char *endp; in cpupower_is_cpu_online() local
81 value = strtoull(linebuf, &endp, 0); in cpupower_is_cpu_online()
92 char *endp; in sysfs_topology_read_file() local
99 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file()
100 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
Dcpuidle.c140 char *endp; in cpuidle_state_get_one_value() local
151 value = strtoull(linebuf, &endp, 0); in cpuidle_state_get_one_value()
153 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
Dcpufreq.c93 char *endp; in sysfs_cpufreq_get_one_value() local
104 value = strtoul(linebuf, &endp, 0); in sysfs_cpufreq_get_one_value()
106 if (endp == linebuf || errno == ERANGE) in sysfs_cpufreq_get_one_value()
/tools/power/cpupower/utils/helpers/
Dsysfs.c54 char *endp; in sysfs_is_cpu_online() local
82 value = strtoull(linebuf, &endp, 0); in sysfs_is_cpu_online()
210 char *endp; in sysfs_idlestate_get_one_value() local
221 value = strtoull(linebuf, &endp, 0); in sysfs_idlestate_get_one_value()
223 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c375 char *startp, *endp; in parse_cmdline_cpu() local
398 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
399 if (startp == endp) in parse_cmdline_cpu()
408 startp = endp; in parse_cmdline_cpu()
443 cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
444 if (startp == endp) in parse_cmdline_cpu()
449 startp = endp; in parse_cmdline_cpu()
458 char *startp, *endp; in parse_cmdline_pkg() local
478 end_pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
479 if (startp == endp) in parse_cmdline_pkg()
[all …]
/tools/perf/util/
Devsel.c2061 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument
2064 return size > max_size || offset + size > endp; in overflow()
2069 if (overflow(endp, (max_size), (offset), (size))) \
2097 const void *endp = (void *)event + max_size; in evsel__parse_sample() local
Dmachine.c1209 char *endp; in machines__create_guest_kernel_maps() local
1226 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10); in machines__create_guest_kernel_maps()
1227 if ((*endp != '\0') || in machines__create_guest_kernel_maps()
1228 (endp == namelist[i]->d_name) || in machines__create_guest_kernel_maps()