Lines Matching defs:other
412 * other has its reference count increased.
416 struct perf_cpu_map *other)
423 if (perf_cpu_map__is_subset(orig, other))
425 if (perf_cpu_map__is_subset(other, orig)) {
427 return perf_cpu_map__get(other);
430 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other);
437 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
438 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) {
439 if (__perf_cpu_map__cpu(orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu)
443 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
449 while (j < __perf_cpu_map__nr(other))
450 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
460 struct perf_cpu_map *other)
467 if (perf_cpu_map__is_subset(other, orig))
469 if (perf_cpu_map__is_subset(orig, other))
470 return perf_cpu_map__get(other);
472 tmp_len = max(__perf_cpu_map__nr(orig), __perf_cpu_map__nr(other));
478 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
479 if (__perf_cpu_map__cpu(orig, i).cpu < __perf_cpu_map__cpu(other, j).cpu)
481 else if (__perf_cpu_map__cpu(orig, i).cpu > __perf_cpu_map__cpu(other, j).cpu)