Lines Matching defs:nid
41 static __ref void *early_alloc_pgtable(unsigned long size, int nid,
53 ptr = memblock_alloc_try_nid(size, size, min_addr, max_addr, nid);
56 panic("%s: Failed to allocate %lu bytes align=0x%lx nid=%d from=%pa max_addr=%pa\n",
57 __func__, size, size, nid, &min_addr, &max_addr);
72 int nid,
85 pudp = early_alloc_pgtable(PAGE_SIZE, nid,
95 pmdp = early_alloc_pgtable(PAGE_SIZE, nid, region_start,
105 ptep = early_alloc_pgtable(PAGE_SIZE, nid,
118 * nid, region_start, and region_end are hints to try to place the page
124 int nid,
144 nid, region_start, region_end);
296 int nid, pgprot_t _prot)
348 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end);
869 unsigned long end, int nid,
878 nid, prot);
891 int nid)
893 return __map_kernel_page(ea, pa, flags, map_page_size, nid, 0, 0);
901 int nid = early_pfn_to_nid(phys >> PAGE_SHIFT);
909 ret = __map_kernel_page_nid(start, phys, PAGE_KERNEL, page_size, nid);