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