Lines Matching refs:other
306 struct perf_cpu_map *other) in perf_cpu_map__merge() argument
313 if (!orig && !other) in perf_cpu_map__merge()
316 perf_cpu_map__get(other); in perf_cpu_map__merge()
317 return other; in perf_cpu_map__merge()
319 if (!other) in perf_cpu_map__merge()
321 if (orig->nr == other->nr && in perf_cpu_map__merge()
322 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
325 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
332 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge()
333 if (orig->map[i] <= other->map[j]) { in perf_cpu_map__merge()
334 if (orig->map[i] == other->map[j]) in perf_cpu_map__merge()
338 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()
344 while (j < other->nr) in perf_cpu_map__merge()
345 tmp_cpus[k++] = other->map[j++]; in perf_cpu_map__merge()