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