Lines Matching refs:cnode
48 static hubreg_t get_region(cnodeid_t cnode) in get_region() argument
51 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_FINEREG_SHFT; in get_region()
53 return COMPACT_TO_NASID_NODEID(cnode) >> NASID_TO_COARSEREG_SHFT; in get_region()
60 cnodeid_t cnode; in gen_region_mask() local
63 for_each_online_node(cnode) { in gen_region_mask()
64 (*region_mask) |= 1ULL << get_region(cnode); in gen_region_mask()
115 cnodeid_t cnode; in compute_node_distance() local
120 for_each_online_node(cnode) { in compute_node_distance()
121 nasid = COMPACT_TO_NASID_NODEID(cnode); in compute_node_distance()
200 cnodeid_t cnode; in dump_topology() local
220 for_each_online_node(cnode) { in dump_topology()
221 nasid = COMPACT_TO_NASID_NODEID(cnode); in dump_topology()
258 static unsigned long __init slot_getbasepfn(cnodeid_t cnode, int slot) in slot_getbasepfn() argument
260 nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); in slot_getbasepfn()