Lines Matching refs:cpu_map
11 struct cpu_map { struct
17 struct cpu_map *cpu_map__new(const char *cpu_list); argument
18 struct cpu_map *cpu_map__empty_new(int nr);
19 struct cpu_map *cpu_map__dummy_new(void);
20 struct cpu_map *cpu_map__read(FILE *file);
21 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
23 int cpu_map__get_socket(struct cpu_map *map, int idx, void *data);
25 int cpu_map__get_core(struct cpu_map *map, int idx, void *data);
26 int cpu_map__build_socket_map(struct cpu_map *cpus, struct cpu_map **sockp);
27 int cpu_map__build_core_map(struct cpu_map *cpus, struct cpu_map **corep);
29 struct cpu_map *cpu_map__get(struct cpu_map *map);
30 void cpu_map__put(struct cpu_map *map);
32 static inline int cpu_map__socket(struct cpu_map *sock, int s) in cpu_map__socket()
49 static inline int cpu_map__nr(const struct cpu_map *map) in cpu_map__nr()
54 static inline bool cpu_map__empty(const struct cpu_map *map) in cpu_map__empty()
91 int cpu_map__build_map(struct cpu_map *cpus, struct cpu_map **res,
92 int (*f)(struct cpu_map *map, int cpu, void *data),