Lines Matching refs:pgdat
321 static inline phys_addr_t pgdat_to_phys(struct pglist_data *pgdat)
324 VM_BUG_ON(pgdat != &contig_page_data);
327 return __pa(pgdat);
332 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat,
342 * a pgdat can prevent a section being removed. If section A
343 * contains a pgdat and section B contains the usemap, both
345 * from the same section as the pgdat where possible to avoid
348 goal = pgdat_to_phys(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT);
366 struct pglist_data *pgdat = NODE_DATA(nid);
376 pgdat_snr = pfn_to_section_nr(pgdat_to_phys(pgdat) >> PAGE_SHIFT);
399 pr_info("Section %ld and %ld (node %d) have a circular dependency on usemap and pgdat allocations\n",
404 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat,
407 return memblock_alloc_node(size, SMP_CACHE_BYTES, pgdat->node_id);