Lines Matching defs:affinity_spec
3763 const char **maps_spec, const char **affinity_spec,
3801 ret = record__mmap_cpu_mask_init_spec(&thread_mask.affinity, affinity_spec[s]);
3816 pr_err("Empty affinity mask: %s\n", affinity_spec[s]);
3830 pr_err("Intersecting affinity mask: %s\n", affinity_spec[s]);
3948 char **maps_spec = NULL, **affinity_spec = NULL, **tmp_spec;
3980 tmp_spec = realloc(affinity_spec, (nr_spec + 1) * sizeof(char *));
3986 affinity_spec = tmp_spec;
3987 affinity_spec[nr_spec] = strdup(mask);
3988 if (!affinity_spec[nr_spec]) {
3998 (const char **)affinity_spec, nr_spec);
4005 if (affinity_spec)
4006 free(affinity_spec[s]);
4008 free(affinity_spec);