Lines Matching refs:perf_cpu_map
13 struct perf_cpu_map *perf_cpu_map__dummy_new(void) in perf_cpu_map__dummy_new()
15 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)); in perf_cpu_map__dummy_new()
26 static void cpu_map__delete(struct perf_cpu_map *map) in cpu_map__delete()
35 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map) in perf_cpu_map__get()
42 void perf_cpu_map__put(struct perf_cpu_map *map) in perf_cpu_map__put()
48 static struct perf_cpu_map *cpu_map__default_new(void) in cpu_map__default_new()
50 struct perf_cpu_map *cpus; in cpu_map__default_new()
71 struct perf_cpu_map *perf_cpu_map__default_new(void) in perf_cpu_map__default_new()
81 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new()
84 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new()
104 struct perf_cpu_map *perf_cpu_map__read(FILE *file) in perf_cpu_map__read()
106 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__read()
162 static struct perf_cpu_map *cpu_map__read_all_cpu_map(void) in cpu_map__read_all_cpu_map()
164 struct perf_cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map()
176 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new()
178 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__new()
253 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx) in perf_cpu_map__cpu()
261 int perf_cpu_map__nr(const struct perf_cpu_map *cpus) in perf_cpu_map__nr()
266 bool perf_cpu_map__empty(const struct perf_cpu_map *map) in perf_cpu_map__empty()
271 int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu) in perf_cpu_map__idx()
283 int perf_cpu_map__max(struct perf_cpu_map *map) in perf_cpu_map__max()
297 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, in perf_cpu_map__merge()
298 struct perf_cpu_map *other) in perf_cpu_map__merge()
303 struct perf_cpu_map *merged; in perf_cpu_map__merge()