Lines Matching full:other

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