Lines Matching refs:idx
51 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
73 #define perf_cpu_map__for_each_cpu(cpu, idx, cpus) \
74 for ((idx) = 0, (cpu) = perf_cpu_map__cpu(cpus, idx); \
75 (idx) < perf_cpu_map__nr(cpus); \
76 (idx)++, (cpu) = perf_cpu_map__cpu(cpus, idx))
78 #define perf_cpu_map__for_each_cpu_skip_any(_cpu, idx, cpus) \
79 for ((idx) = 0, (_cpu) = perf_cpu_map__cpu(cpus, idx); \
80 (idx) < perf_cpu_map__nr(cpus); \
81 (idx)++, (_cpu) = perf_cpu_map__cpu(cpus, idx)) \
84 #define perf_cpu_map__for_each_idx(idx, cpus) \
85 for ((idx) = 0; (idx) < perf_cpu_map__nr(cpus); (idx)++)