Home
last modified time | relevance | path

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

/tools/testing/selftests/gpio/
A Dgpio-line-name.c26 char *endp; in main() local
40 info.offset = strtoul(argv[2], &endp, 10); in main()
41 if (*endp != '\0') { in main()
/tools/power/cpupower/lib/
A Dacpi_cppc.c43 char *endp; in acpi_cppc_get_data() local
53 value = strtoull(linebuf, &endp, 0); in acpi_cppc_get_data()
55 if (endp == linebuf || errno == ERANGE) in acpi_cppc_get_data()
A Dcpupower.c82 char *endp; in cpupower_is_cpu_online() local
110 value = strtoull(linebuf, &endp, 0); in cpupower_is_cpu_online()
121 char *endp; in sysfs_topology_read_file() local
128 *result = strtol(linebuf, &endp, 0); in sysfs_topology_read_file()
129 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
A Dcpuidle.c142 char *endp; in cpuidle_state_get_one_value() local
153 value = strtoull(linebuf, &endp, 0); in cpuidle_state_get_one_value()
155 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
A Dcpufreq.c94 char *endp; in cpufreq_get_sysfs_value_from_table() local
109 value = strtoul(linebuf, &endp, 0); in cpufreq_get_sysfs_value_from_table()
111 if (endp == linebuf || errno == ERANGE) in cpufreq_get_sysfs_value_from_table()
/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c378 char *startp, *endp; in parse_cmdline_cpu() local
402 if (startp == endp) in parse_cmdline_cpu()
411 startp = endp; in parse_cmdline_cpu()
447 if (startp == endp) in parse_cmdline_cpu()
452 startp = endp; in parse_cmdline_cpu()
461 char *startp, *endp; in parse_cmdline_pkg() local
482 if (startp == endp) in parse_cmdline_pkg()
491 startp = endp; in parse_cmdline_pkg()
504 startp = endp; in parse_cmdline_pkg()
850 char *endp; in get_epb() local
[all …]
/tools/power/cpupower/utils/helpers/
A 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()
A Dmisc.c56 char *endp; in cpupower_intel_get_perf_bias() local
66 val = strtol(linebuf, &endp, 0); in cpupower_intel_get_perf_bias()
67 if (endp == linebuf || errno == ERANGE) in cpupower_intel_get_perf_bias()
/tools/sched_ext/
A Dscx_flatcg.c76 char *endp = NULL; in read_cpu_util() local
83 v = strtoull(tok, &endp, 0); in read_cpu_util()
84 if (!endp || *endp != '\0') { in read_cpu_util()
/tools/perf/util/
A Devsel.c2837 static inline bool overflow(const void *endp, u16 max_size, const void *offset, in overflow() argument
2840 return size > max_size || offset + size > endp; in overflow()
2845 if (overflow(endp, (max_size), (offset), (size))) \
2955 const void *endp = (void *)array + max_size; in __set_offcpu_sample() local
2987 const void *endp = (void *)event + max_size; in evsel__parse_sample() local
A Dmachine.c1217 char *endp; in machines__create_guest_kernel_maps() local
1234 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10); in machines__create_guest_kernel_maps()
1235 if ((*endp != '\0') || in machines__create_guest_kernel_maps()
1236 (endp == namelist[i]->d_name) || in machines__create_guest_kernel_maps()

Completed in 25 milliseconds