Home
last modified time | relevance | path

Searched refs:nid (Results 1 – 10 of 10) sorted by relevance

/xen/xen/include/asm-x86/
A Dnuma.h64 nodeid_t nid; in phys_to_nid() local
66 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])) argument
73 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) argument
74 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) argument
75 #define node_end_pfn(nid) (NODE_DATA(nid)->node_start_pfn + \ argument
76 NODE_DATA(nid)->node_spanned_pages)
/xen/tools/libxl/
A Dlibxl_vnuma.c231 v[i].nid = i; in libxl__vnuma_build_vmemrange_pv_generic()
260 int nid, nr_vmemrange; in libxl__vnuma_build_vmemrange_hvm() local
279 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()
A Dlibxl_x86.c569 int nid, nr_vmemrange, rc; in libxl__arch_vnuma_build_vmemrange() local
591 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()
A Dlibxl_dom.c702 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()
/xen/xen/include/asm-arm/
A Dnuma.h24 #define node_spanned_pages(nid) (max_page - mfn_x(first_valid_mfn)) argument
25 #define node_start_pfn(nid) (mfn_x(first_valid_mfn)) argument
/xen/xen/include/public/
A Dmemory.h684 unsigned int nid; member
/xen/tools/libxc/
A Dxc_dom_x86.c1225 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()
/xen/xen/arch/x86/
A Dnuma.c492 if ( vnuma->vmemrange[j].nid == i ) in dump_numa()
/xen/xen/common/
A Dpage_alloc.c1801 unsigned int nid = phys_to_nid(page_to_maddr(pg+i)); in init_heap_pages() local
1803 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()
/xen/tools/libacpi/
A Dbuild.c257 memory->domain = config->numa.vmemrange[i].nid; in construct_srat()

Completed in 28 milliseconds