Home
last modified time | relevance | path

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

/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c378 char *startp, *endp; in parse_cmdline_cpu() local
390 for (startp = s; startp && *startp;) { in parse_cmdline_cpu()
392 if (*startp == ',') { in parse_cmdline_cpu()
393 startp++; in parse_cmdline_cpu()
397 if (*startp == '-') { in parse_cmdline_cpu()
400 startp++; in parse_cmdline_cpu()
401 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
402 if (startp == endp) in parse_cmdline_cpu()
411 startp = endp; in parse_cmdline_cpu()
415 if (strncmp(startp, "all", 3) == 0) { in parse_cmdline_cpu()
[all …]
/tools/lib/perf/
Dmmap.c204 u64 *startp, u64 end) in perf_mmap__read() argument
208 int diff = end - *startp; in perf_mmap__read()
213 event = (union perf_event *)&data[*startp & map->mask]; in perf_mmap__read()
223 if ((*startp & map->mask) + size != ((*startp + size) & map->mask)) { in perf_mmap__read()
224 unsigned int offset = *startp; in perf_mmap__read()
239 *startp += size; in perf_mmap__read()