Lines Matching full:other
295 * other has its reference count increased.
299 struct perf_cpu_map *other) in perf_cpu_map__merge() argument
306 if (!orig && !other) in perf_cpu_map__merge()
309 perf_cpu_map__get(other); in perf_cpu_map__merge()
310 return other; in perf_cpu_map__merge()
312 if (!other) in perf_cpu_map__merge()
314 if (orig->nr == other->nr && in perf_cpu_map__merge()
315 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
318 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
325 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge()
326 if (orig->map[i] <= other->map[j]) { in perf_cpu_map__merge()
327 if (orig->map[i] == other->map[j]) in perf_cpu_map__merge()
331 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()
337 while (j < other->nr) in perf_cpu_map__merge()
338 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()