Home
last modified time | relevance | path

Searched refs:zone_pgdat (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/mm/
Dmemory_hotplug.c471 struct pglist_data *pgdat = zone->zone_pgdat; in __remove_zone()
484 pgdat_resize_lock(zone->zone_pgdat, &flags); in __remove_zone()
487 pgdat_resize_unlock(zone->zone_pgdat, &flags); in __remove_zone()
700 struct pglist_data *pgdat = zone->zone_pgdat; in move_pfn_range_to_zone()
840 pgdat_resize_lock(zone->zone_pgdat, &flags); in online_pages()
841 zone->zone_pgdat->node_present_pages += onlined_pages; in online_pages()
842 pgdat_resize_unlock(zone->zone_pgdat, &flags); in online_pages()
1418 struct pglist_data *pgdat = zone->zone_pgdat; in node_states_check_changes_offline()
1583 pgdat_resize_lock(zone->zone_pgdat, &flags); in __offline_pages()
1584 zone->zone_pgdat->node_present_pages -= offlined_pages; in __offline_pages()
[all …]
Dmmzone.c32 pg_data_t *pgdat = zone->zone_pgdat; in next_zone()
Dvmscan.c1557 ret = shrink_page_list(&clean_pages, zone->zone_pgdat, &sc, in reclaim_clean_pages_from_list()
1560 mod_node_page_state(zone->zone_pgdat, NR_ISOLATED_FILE, -ret); in reclaim_clean_pages_from_list()
3003 if (zone->zone_pgdat == last_pgdat) in shrink_zones()
3013 nr_soft_reclaimed = mem_cgroup_soft_limit_reclaim(zone->zone_pgdat, in shrink_zones()
3022 if (zone->zone_pgdat == last_pgdat) in shrink_zones()
3024 last_pgdat = zone->zone_pgdat; in shrink_zones()
3025 shrink_node(zone->zone_pgdat, sc); in shrink_zones()
3102 if (zone->zone_pgdat == last_pgdat) in do_try_to_free_pages()
3104 last_pgdat = zone->zone_pgdat; in do_try_to_free_pages()
3105 snapshot_refaults(sc->target_mem_cgroup, zone->zone_pgdat); in do_try_to_free_pages()
[all …]
Dmigrate.c488 __dec_node_state(oldzone->zone_pgdat, NR_FILE_PAGES); in migrate_page_move_mapping()
489 __inc_node_state(newzone->zone_pgdat, NR_FILE_PAGES); in migrate_page_move_mapping()
491 __dec_node_state(oldzone->zone_pgdat, NR_SHMEM); in migrate_page_move_mapping()
492 __inc_node_state(newzone->zone_pgdat, NR_SHMEM); in migrate_page_move_mapping()
495 __dec_node_state(oldzone->zone_pgdat, NR_FILE_DIRTY); in migrate_page_move_mapping()
497 __inc_node_state(newzone->zone_pgdat, NR_FILE_DIRTY); in migrate_page_move_mapping()
Dmlock.c301 spin_lock_irq(&zone->zone_pgdat->lru_lock); in __munlock_pagevec()
328 spin_unlock_irq(&zone->zone_pgdat->lru_lock); in __munlock_pagevec()
Dpage_alloc.c1853 pg_data_t *pgdat = zone->zone_pgdat; in deferred_grow_zone()
3624 if (last_pgdat_dirty_limit == zone->zone_pgdat) in get_page_from_freelist()
3627 if (!node_dirty_ok(zone->zone_pgdat)) { in get_page_from_freelist()
3628 last_pgdat_dirty_limit = zone->zone_pgdat; in get_page_from_freelist()
3673 ret = node_reclaim(zone->zone_pgdat, gfp_mask, order); in get_page_from_freelist()
4177 if (last_pgdat != zone->zone_pgdat) in wake_all_kswapds()
4179 last_pgdat = zone->zone_pgdat; in wake_all_kswapds()
5954 struct pglist_data *pgdat = zone->zone_pgdat; in memmap_init_zone_device()
6213 struct pglist_data *pgdat = zone->zone_pgdat; in init_currently_empty_zone()
6723 zone->zone_pgdat = NODE_DATA(nid); in zone_init_internals()
[all …]
Dkhugepaged.c1708 __mod_node_page_state(zone->zone_pgdat, NR_FILE_PAGES, nr_none); in collapse_file()
1710 __mod_node_page_state(zone->zone_pgdat, in collapse_file()
Dvmstat.c261 struct pglist_data *pgdat = zone->zone_pgdat; in refresh_zone_stat_thresholds()
Dcompaction.c785 pg_data_t *pgdat = cc->zone->zone_pgdat; in isolate_migratepages_block()
/Linux-v5.4/include/linux/
Dmmzone.h441 struct pglist_data *zone_pgdat; member
865 #define zone_idx(zone) ((zone) - (zone)->zone_pgdat->node_zones)