Lines Matching refs:nr_spec
3644 u32 nr_spec) in record__init_thread_masks_spec() argument
3675 for (s = 0; s < nr_spec; s++) { in record__init_thread_masks_spec()
3827 u32 s, nr_spec = 0; in record__init_thread_user_masks() local
3840 tmp_spec = realloc(maps_spec, (nr_spec + 1) * sizeof(char *)); in record__init_thread_user_masks()
3847 maps_spec[nr_spec] = dup_mask = strdup(mask); in record__init_thread_user_masks()
3848 if (!maps_spec[nr_spec]) { in record__init_thread_user_masks()
3849 pr_err("Failed to allocate maps spec[%d]\n", nr_spec); in record__init_thread_user_masks()
3860 tmp_spec = realloc(affinity_spec, (nr_spec + 1) * sizeof(char *)); in record__init_thread_user_masks()
3867 affinity_spec[nr_spec] = strdup(mask); in record__init_thread_user_masks()
3868 if (!affinity_spec[nr_spec]) { in record__init_thread_user_masks()
3869 pr_err("Failed to allocate affinity spec[%d]\n", nr_spec); in record__init_thread_user_masks()
3874 nr_spec++; in record__init_thread_user_masks()
3878 (const char **)affinity_spec, nr_spec); in record__init_thread_user_masks()
3882 for (s = 0; s < nr_spec; s++) { in record__init_thread_user_masks()