Lines Matching refs:node_no
402 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ argument
406 ((node_no) * topo.cores_per_node * topo.threads_per_core) + \
410 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ argument
413 ((node_no) * topo.cores_per_node) + \
592 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local
595 for (node_no = 0; node_no < topo.nodes_per_pkg; node_no++) { in for_all_cpus()
602 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus()
607 c = GET_CORE(core_base, core_no, node_no, pkg_no); in for_all_cpus()
2996 int retval, pkg_no, node_no, core_no, thread_no; in for_all_cpus_2() local
2999 for (node_no = 0; node_no < topo.nodes_per_pkg; ++node_no) { in for_all_cpus_2()
3006 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus_2()
3011 t2 = GET_THREAD(thread_base2, thread_no, core_no, node_no, pkg_no); in for_all_cpus_2()
3013 c = GET_CORE(core_base, core_no, node_no, pkg_no); in for_all_cpus_2()
3014 c2 = GET_CORE(core_base2, core_no, node_no, pkg_no); in for_all_cpus_2()