Lines Matching full:other
347 * other has its reference count increased.
351 struct perf_cpu_map *other) in perf_cpu_map__merge() argument
358 if (perf_cpu_map__is_subset(orig, other)) in perf_cpu_map__merge()
360 if (perf_cpu_map__is_subset(other, orig)) { in perf_cpu_map__merge()
362 return perf_cpu_map__get(other); in perf_cpu_map__merge()
365 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
372 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge()
373 if (orig->map[i].cpu <= other->map[j].cpu) { in perf_cpu_map__merge()
374 if (orig->map[i].cpu == other->map[j].cpu) in perf_cpu_map__merge()
378 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()
384 while (j < other->nr) in perf_cpu_map__merge()
385 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()