Searched refs:end_cpu (Results 1 – 8 of 8) sorted by relevance
102 int end_cpu; in parse_cpu_set() local120 end_cpu = atoi(p); in parse_cpu_set()121 if (end_cpu < cpu || (!end_cpu && *p != '0') || end_cpu >= nr_cpus) in parse_cpu_set()126 end_cpu = cpu; in parse_cpu_set()128 if (cpu == end_cpu) { in parse_cpu_set()132 for (i = cpu; i <= end_cpu; i++) { in parse_cpu_set()
207 unsigned long start_cpu, end_cpu = 0; in perf_cpu_map__new() local234 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()236 if (end_cpu >= INT_MAX || (*p != '\0' && *p != ',')) in perf_cpu_map__new()239 if (end_cpu < start_cpu) in perf_cpu_map__new()242 end_cpu = start_cpu; in perf_cpu_map__new()245 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()248 for (; start_cpu <= end_cpu; start_cpu++) { in perf_cpu_map__new()
121 map = perf_cpu_map__empty_new(data->range_cpu_data.end_cpu - in cpu_map__from_range()129 for (int cpu = data->range_cpu_data.start_cpu; cpu <= data->range_cpu_data.end_cpu; in cpu_map__from_range()
946 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
1261 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus()
398 int end_cpu; in parse_cmdline_cpu() local401 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()405 while (cpu <= end_cpu) { in parse_cmdline_cpu()
91 TEST_ASSERT_VAL("wrong end_cpu", data->range_cpu_data.end_cpu == 256); in process_event_range_cpus()
218 __u16 end_cpu; member