Lines Matching refs:other
401 * other has its reference count increased.
405 struct perf_cpu_map *other)
412 if (perf_cpu_map__is_subset(orig, other))
414 if (perf_cpu_map__is_subset(other, orig)) {
416 return perf_cpu_map__get(other);
419 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other);
426 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
427 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) {
428 if (__perf_cpu_map__cpu(orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu)
432 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
438 while (j < __perf_cpu_map__nr(other))
439 tmp_cpus[k++] = __perf_cpu_map__cpu(other, j++);
449 struct perf_cpu_map *other)
456 if (perf_cpu_map__is_subset(other, orig))
458 if (perf_cpu_map__is_subset(orig, other))
459 return perf_cpu_map__get(other);
461 tmp_len = max(__perf_cpu_map__nr(orig), __perf_cpu_map__nr(other));
467 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) {
468 if (__perf_cpu_map__cpu(orig, i).cpu < __perf_cpu_map__cpu(other, j).cpu)
470 else if (__perf_cpu_map__cpu(orig, i).cpu > __perf_cpu_map__cpu(other, j).cpu)