Searched refs:nid (Results 1 – 10 of 10) sorted by relevance
64 nodeid_t nid; in phys_to_nid() local66 nid = memnodemap[paddr_to_pdx(addr) >> memnode_shift]; in phys_to_nid()67 VIRTUAL_BUG_ON(nid >= MAX_NUMNODES || !node_data[nid]); in phys_to_nid()68 return nid; in phys_to_nid()71 #define NODE_DATA(nid) (&(node_data[nid])) argument73 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) argument74 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) argument75 #define node_end_pfn(nid) (NODE_DATA(nid)->node_start_pfn + \ argument76 NODE_DATA(nid)->node_spanned_pages)
231 v[i].nid = i; in libxl__vnuma_build_vmemrange_pv_generic()260 int nid, nr_vmemrange; in libxl__vnuma_build_vmemrange_hvm() local279 for (nid = 0; nid < b_info->num_vnuma_nodes; nid++) { in libxl__vnuma_build_vmemrange_hvm()280 libxl_vnode_info *p = &b_info->vnuma_nodes[nid]; in libxl__vnuma_build_vmemrange_hvm()284 if (nid == 0) { in libxl__vnuma_build_vmemrange_hvm()305 vmemranges[nr_vmemrange].nid = nid; in libxl__vnuma_build_vmemrange_hvm()
569 int nid, nr_vmemrange, rc; in libxl__arch_vnuma_build_vmemrange() local591 for (nid = 0; nid < b_info->num_vnuma_nodes; nid++) { in libxl__arch_vnuma_build_vmemrange()592 libxl_vnode_info *p = &b_info->vnuma_nodes[nid]; in libxl__arch_vnuma_build_vmemrange()628 vmemranges[nr_vmemrange].nid = nid; in libxl__arch_vnuma_build_vmemrange()
702 dom->vmemranges[i].nid = state->vmemranges[i].nid; in libxl__build_pv()1165 dom->vmemranges[i].nid = state->vmemranges[i].nid; in libxl__build_hvm()
24 #define node_spanned_pages(nid) (max_page - mfn_x(first_valid_mfn)) argument25 #define node_start_pfn(nid) (mfn_x(first_valid_mfn)) argument
684 unsigned int nid; member
1225 vmemranges[0].nid = 0; in meminit_pv()1265 unsigned int pnode = vnode_to_pnode[vmemranges[i].nid]; in meminit_pv()1385 dummy_vmemrange[0].nid = 0; in meminit_hvm()1393 dummy_vmemrange[1].nid = 0; in meminit_hvm()1500 unsigned int vnode = vmemranges[vmemid].nid; in meminit_hvm()
492 if ( vnuma->vmemrange[j].nid == i ) in dump_numa()
1801 unsigned int nid = phys_to_nid(page_to_maddr(pg+i)); in init_heap_pages() local1803 if ( unlikely(!avail[nid]) ) in init_heap_pages()1807 bool use_tail = (nid == phys_to_nid(pfn_to_paddr(e - 1))) && in init_heap_pages()1812 n = init_node_heap(nid, mfn_x(page_to_mfn(pg + i)), nr_pages - i, in init_heap_pages()
257 memory->domain = config->numa.vmemrange[i].nid; in construct_srat()
Completed in 28 milliseconds