Lines Matching refs:nid
84 int nid = 0; in numa_setup_memory() local
96 nid = numa_pfn_to_nid(PFN_DOWN(cur_base)); in numa_setup_memory()
97 node_set_online(nid); in numa_setup_memory()
98 memblock_set_node(cur_base, align, &memblock.memory, nid); in numa_setup_memory()
103 for (nid = 0; nid < MAX_NUMNODES; nid++) in numa_setup_memory()
104 NODE_DATA(nid) = alloc_node_data(); in numa_setup_memory()
106 for_each_online_node(nid) { in numa_setup_memory()
113 for_each_mem_pfn_range(i, nid, &t_start, &t_end, NULL) { in numa_setup_memory()
119 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in numa_setup_memory()
120 NODE_DATA(nid)->node_id = nid; in numa_setup_memory()
160 int nid; in numa_init_late() local
162 for_each_online_node(nid) in numa_init_late()
163 register_one_node(nid); in numa_init_late()