Lines Matching defs:nid
39 static __ref void *early_alloc_pgtable(unsigned long size, int nid,
51 ptr = memblock_alloc_try_nid(size, size, min_addr, max_addr, nid);
54 panic("%s: Failed to allocate %lu bytes align=0x%lx nid=%d from=%pa max_addr=%pa\n",
55 __func__, size, size, nid, &min_addr, &max_addr);
70 int nid,
83 pudp = early_alloc_pgtable(PAGE_SIZE, nid,
93 pmdp = early_alloc_pgtable(PAGE_SIZE, nid, region_start,
103 ptep = early_alloc_pgtable(PAGE_SIZE, nid,
116 * nid, region_start, and region_end are hints to try to place the page
122 int nid,
142 nid, region_start, region_end);
271 int nid, pgprot_t _prot)
319 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end);
921 unsigned long end, int nid,
930 radix_mem_block_size, nid, prot);
943 int nid)
945 return __map_kernel_page(ea, pa, flags, map_page_size, nid, 0, 0);
954 int nid = early_pfn_to_nid(phys >> PAGE_SHIFT);
962 ret = __map_kernel_page_nid(start, phys, __pgprot(flags), page_size, nid);