Searched refs:endp (Results 1 – 11 of 11) sorted by relevance
| /tools/testing/selftests/gpio/ |
| A D | gpio-line-name.c | 26 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 D | acpi_cppc.c | 43 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 D | cpupower.c | 82 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 D | cpuidle.c | 142 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 D | cpufreq.c | 94 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 D | x86_energy_perf_policy.c | 378 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 D | sysfs.c | 54 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 D | misc.c | 56 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 D | scx_flatcg.c | 76 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 D | evsel.c | 2837 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 D | machine.c | 1217 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 26 milliseconds