Lines Matching refs:pgdat
264 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat, in sparse_early_usemaps_alloc_pgdat_section() argument
280 goal = __pa(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
299 struct pglist_data *pgdat = NODE_DATA(nid); in check_usemap_section_nr() local
303 pgdat_snr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); in check_usemap_section_nr()
334 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat, in sparse_early_usemaps_alloc_pgdat_section() argument
337 return memblock_virt_alloc_node_nopanic(size, pgdat->node_id); in sparse_early_usemaps_alloc_pgdat_section()
696 struct pglist_data *pgdat = zone->zone_pgdat; in sparse_add_one_section() local
707 ret = sparse_index_init(section_nr, pgdat->node_id); in sparse_add_one_section()
710 memmap = kmalloc_section_memmap(section_nr, pgdat->node_id); in sparse_add_one_section()
719 pgdat_resize_lock(pgdat, &flags); in sparse_add_one_section()
734 pgdat_resize_unlock(pgdat, &flags); in sparse_add_one_section()
795 struct pglist_data *pgdat = zone->zone_pgdat; in sparse_remove_one_section() local
797 pgdat_resize_lock(pgdat, &flags); in sparse_remove_one_section()
805 pgdat_resize_unlock(pgdat, &flags); in sparse_remove_one_section()