Lines Matching refs:topo

3742 	struct cpu_topology *topo;  in record__init_thread_core_masks()  local
3744 topo = cpu_topology__new(); in record__init_thread_core_masks()
3745 if (!topo) { in record__init_thread_core_masks()
3750 ret = record__init_thread_masks_spec(rec, cpus, topo->core_cpus_list, in record__init_thread_core_masks()
3751 topo->core_cpus_list, topo->core_cpus_lists); in record__init_thread_core_masks()
3752 cpu_topology__delete(topo); in record__init_thread_core_masks()
3760 struct cpu_topology *topo; in record__init_thread_package_masks() local
3762 topo = cpu_topology__new(); in record__init_thread_package_masks()
3763 if (!topo) { in record__init_thread_package_masks()
3768 ret = record__init_thread_masks_spec(rec, cpus, topo->package_cpus_list, in record__init_thread_package_masks()
3769 topo->package_cpus_list, topo->package_cpus_lists); in record__init_thread_package_masks()
3770 cpu_topology__delete(topo); in record__init_thread_package_masks()
3780 struct numa_topology *topo; in record__init_thread_numa_masks() local
3782 topo = numa_topology__new(); in record__init_thread_numa_masks()
3783 if (!topo) { in record__init_thread_numa_masks()
3788 spec = zalloc(topo->nr * sizeof(char *)); in record__init_thread_numa_masks()
3794 for (s = 0; s < topo->nr; s++) in record__init_thread_numa_masks()
3795 spec[s] = topo->nodes[s].cpus; in record__init_thread_numa_masks()
3797 ret = record__init_thread_masks_spec(rec, cpus, spec, spec, topo->nr); in record__init_thread_numa_masks()
3802 numa_topology__delete(topo); in record__init_thread_numa_masks()