Lines Matching full:other
294 * other has its reference count increased.
298 struct perf_cpu_map *other) in perf_cpu_map__merge() argument
305 if (!orig && !other) in perf_cpu_map__merge()
308 perf_cpu_map__get(other); in perf_cpu_map__merge()
309 return other; in perf_cpu_map__merge()
311 if (!other) in perf_cpu_map__merge()
313 if (orig->nr == other->nr && in perf_cpu_map__merge()
314 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
317 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
324 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge()
325 if (orig->map[i] <= other->map[j]) { in perf_cpu_map__merge()
326 if (orig->map[i] == other->map[j]) in perf_cpu_map__merge()
330 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()
336 while (j < other->nr) in perf_cpu_map__merge()
337 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()