Lines Matching full:other
443 * other has its reference count increased.
447 struct perf_cpu_map *other)
454 if (perf_cpu_map__is_subset(orig, other))
456 if (perf_cpu_map__is_subset(other, orig)) {
458 return perf_cpu_map__get(other);
461 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other);
468 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
469 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) {
470 if (__perf_cpu_map__cpu(orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu)
474 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
480 while (j < __perf_cpu_map__nr(other))
481 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
491 struct perf_cpu_map *other)
498 if (perf_cpu_map__is_subset(other, orig))
500 if (perf_cpu_map__is_subset(orig, other))
501 return perf_cpu_map__get(other);
503 tmp_len = max(__perf_cpu_map__nr(orig), __perf_cpu_map__nr(other));
509 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
510 if (__perf_cpu_map__cpu(orig, i).cpu < __perf_cpu_map__cpu(other, j).cpu)
512 else if (__perf_cpu_map__cpu(orig, i).cpu > __perf_cpu_map__cpu(other, j).cpu)