Lines Matching refs:core_no
407 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ argument
412 ((core_no) * topo.threads_per_core) + \
415 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ argument
419 (core_no))
597 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local
601 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus()
607 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus()
612 c = GET_CORE(core_base, core_no, node_no, pkg_no); in for_all_cpus()
2989 int retval, pkg_no, node_no, core_no, thread_no; in for_all_cpus_2() local
2993 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus_2()
2999 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus_2()
3004 t2 = GET_THREAD(thread_base2, thread_no, core_no, node_no, pkg_no); in for_all_cpus_2()
3006 c = GET_CORE(core_base, core_no, node_no, pkg_no); in for_all_cpus_2()
3007 c2 = GET_CORE(core_base2, core_no, node_no, pkg_no); in for_all_cpus_2()