Home
last modified time | relevance | path

Searched defs:pgdat (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/include/linux/
Dmemory_hotplug.h48 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
61 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata()
211 static inline void pgdat_kswapd_lock(pg_data_t *pgdat) in pgdat_kswapd_lock()
216 static inline void pgdat_kswapd_unlock(pg_data_t *pgdat) in pgdat_kswapd_unlock()
221 static inline void pgdat_kswapd_lock_init(pg_data_t *pgdat) in pgdat_kswapd_lock_init()
263 static inline void pgdat_kswapd_lock(pg_data_t *pgdat) {} in pgdat_kswapd_lock()
264 static inline void pgdat_kswapd_unlock(pg_data_t *pgdat) {} in pgdat_kswapd_unlock()
265 static inline void pgdat_kswapd_lock_init(pg_data_t *pgdat) {} in pgdat_kswapd_lock_init()
280 void pgdat_resize_lock(struct pglist_data *pgdat, unsigned long *flags) in pgdat_resize_lock()
285 void pgdat_resize_unlock(struct pglist_data *pgdat, unsigned long *flags) in pgdat_resize_unlock()
[all …]
Dmemory-tiers.h50 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets()
92 static inline void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets()
Dcompaction.h185 static inline void reset_isolation_suitable(pg_data_t *pgdat) in reset_isolation_suitable()
222 static inline void wakeup_kcompactd(pg_data_t *pgdat, in wakeup_kcompactd()
Dvmstat.h166 static inline void node_page_state_add(long x, struct pglist_data *pgdat, in node_page_state_add()
319 static inline void __mod_node_page_state(struct pglist_data *pgdat, in __mod_node_page_state()
342 static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __inc_node_state()
354 static inline void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __dec_node_state()
402 #define set_pgdat_percpu_threshold(pgdat, callback) { } argument
Dbootmem_info.h47 static inline void register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node()
Dmemcontrol.h57 pg_data_t *pgdat; member
709 struct pglist_data *pgdat) in mem_cgroup_lruvec()
1251 struct pglist_data *pgdat) in mem_cgroup_lruvec()
1258 struct pglist_data *pgdat = folio_pgdat(folio); in folio_lruvec() local
1299 struct pglist_data *pgdat = folio_pgdat(folio); in folio_lruvec_lock() local
1307 struct pglist_data *pgdat = folio_pgdat(folio); in folio_lruvec_lock_irq() local
1316 struct pglist_data *pgdat = folio_pgdat(folio); in folio_lruvec_lock_irqsave() local
1562 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, in mem_cgroup_soft_limit_reclaim()
/linux-6.1.9/mm/
Dvmstat.c274 struct pglist_data *pgdat; in refresh_zone_stat_thresholds() local
287 struct pglist_data *pgdat = zone->zone_pgdat; in refresh_zone_stat_thresholds() local
317 void set_pgdat_percpu_threshold(pg_data_t *pgdat, in set_pgdat_percpu_threshold()
373 void __mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, in __mod_node_page_state()
453 void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __inc_node_state()
509 void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __dec_node_state()
614 static inline void mod_node_state(struct pglist_data *pgdat, in mod_node_state()
663 void mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, in mod_node_page_state()
670 void inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in inc_node_state()
723 void inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in inc_node_state()
[all …]
Dcompaction.c377 void reset_isolation_suitable(pg_data_t *pgdat) in reset_isolation_suitable()
748 static bool too_many_isolated(pg_data_t *pgdat) in too_many_isolated()
789 pg_data_t *pgdat = cc->zone->zone_pgdat; in isolate_migratepages_block() local
1976 static bool kswapd_is_running(pg_data_t *pgdat) in kswapd_is_running()
2021 static unsigned int fragmentation_score_node(pg_data_t *pgdat) in fragmentation_score_node()
2036 static unsigned int fragmentation_score_wmark(pg_data_t *pgdat, bool low) in fragmentation_score_wmark()
2049 static bool should_proactive_compact_node(pg_data_t *pgdat) in should_proactive_compact_node()
2088 pg_data_t *pgdat; in __compact_finished() local
2646 static void proactive_compact_node(pg_data_t *pgdat) in proactive_compact_node()
2676 pg_data_t *pgdat = NODE_DATA(nid); in compact_node() local
[all …]
Dworkingset.c187 static void *pack_shadow(int memcgid, pg_data_t *pgdat, unsigned long eviction, in pack_shadow()
198 static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat, in unpack_shadow()
232 struct pglist_data *pgdat = folio_pgdat(folio); in lru_gen_eviction() local
257 struct pglist_data *pgdat; in lru_gen_refault() local
353 struct pglist_data *pgdat = folio_pgdat(folio); in workingset_eviction() local
392 struct pglist_data *pgdat; in workingset_refault() local
Dvmscan.c1082 static bool skip_throttle_noprogress(pg_data_t *pgdat) in skip_throttle_noprogress()
1115 void reclaim_throttle(pg_data_t *pgdat, enum vmscan_throttle_state reason) in reclaim_throttle()
1189 void __acct_reclaim_writeback(pg_data_t *pgdat, struct folio *folio, in __acct_reclaim_writeback()
1571 struct pglist_data *pgdat) in demote_folio_list()
1630 struct pglist_data *pgdat, struct scan_control *sc, in shrink_folio_list()
2322 static int too_many_isolated(struct pglist_data *pgdat, int file, in too_many_isolated()
2454 struct pglist_data *pgdat = lruvec_pgdat(lruvec); in shrink_inactive_list() local
2577 struct pglist_data *pgdat = lruvec_pgdat(lruvec); in shrink_active_list() local
2661 struct pglist_data *pgdat) in reclaim_folio_list()
2785 static void prepare_scan_count(pg_data_t *pgdat, struct scan_control *sc) in prepare_scan_count()
[all …]
Dshuffle.h13 static inline void __meminit shuffle_free_memory(pg_data_t *pgdat) in shuffle_free_memory()
40 static inline void shuffle_free_memory(pg_data_t *pgdat) in shuffle_free_memory()
Dmemory-tiers.c227 pg_data_t *pgdat; in __node_get_memory_tier() local
245 pg_data_t *pgdat; in node_is_toptier() local
267 void node_get_allowed_targets(pg_data_t *pgdat, nodemask_t *targets) in node_get_allowed_targets()
480 pg_data_t *pgdat = NODE_DATA(node); in set_node_memory_tier() local
507 pg_data_t *pgdat; in clear_node_memory_tier() local
Dmmzone.c18 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat) in next_online_pgdat()
32 pg_data_t *pgdat = zone->zone_pgdat; in next_zone() local
Dmemory_hotplug.c432 static void update_pgdat_span(struct pglist_data *pgdat) in update_pgdat_span()
465 struct pglist_data *pgdat = zone->zone_pgdat; in remove_pfn_range_from_zone() local
653 static void __meminit resize_pgdat_range(struct pglist_data *pgdat, unsigned long start_pfn, in resize_pgdat_range()
691 struct pglist_data *pgdat = zone->zone_pgdat; in move_pfn_range_to_zone() local
786 pg_data_t *pgdat = NODE_DATA(nid); in auto_movable_can_online_movable() local
837 struct pglist_data *pgdat = NODE_DATA(nid); in default_kernel_zone_for_pfn() local
1164 static void reset_node_present_pages(pg_data_t *pgdat) in reset_node_present_pages()
1177 struct pglist_data *pgdat; in hotadd_init_pgdat() local
1221 pg_data_t *pgdat; in __try_online_node() local
1737 struct pglist_data *pgdat = zone->zone_pgdat; in node_states_check_changes_offline() local
Dpage_alloc.c1654 pg_data_t *pgdat; in init_reserved_page() local
2110 pg_data_t *pgdat = data; in deferred_init_memmap() local
2203 pg_data_t *pgdat = zone->zone_pgdat; in deferred_grow_zone() local
5999 pg_data_t *pgdat = NODE_DATA(nid); in si_meminfo_node() local
6074 static bool node_has_managed_zones(pg_data_t *pgdat, int max_zone_idx) in node_has_managed_zones()
6097 pg_data_t *pgdat; in __show_free_areas() local
6317 static int build_zonerefs_node(pg_data_t *pgdat, struct zoneref *zonerefs) in build_zonerefs_node()
6433 static void build_zonelists_in_node_order(pg_data_t *pgdat, int *node_order, in build_zonelists_in_node_order()
6456 static void build_thisnode_zonelists(pg_data_t *pgdat) in build_thisnode_zonelists()
6475 static void build_zonelists(pg_data_t *pgdat) in build_zonelists()
[all …]
Dpage_owner.c274 pg_data_t *pgdat, struct zone *zone) in pagetypeinfo_showmixedcount_print()
619 static void init_pages_in_zone(pg_data_t *pgdat, struct zone *zone) in init_pages_in_zone()
688 static void init_zones_in_node(pg_data_t *pgdat) in init_zones_in_node()
703 pg_data_t *pgdat; in init_early_allocated_pages() local
Dpage_ext.c187 void __meminit pgdat_page_ext_init(struct pglist_data *pgdat) in pgdat_page_ext_init()
525 void __meminit pgdat_page_ext_init(struct pglist_data *pgdat) in pgdat_page_ext_init()
Dsparse.c321 static inline phys_addr_t pgdat_to_phys(struct pglist_data *pgdat) in pgdat_to_phys()
333 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat, in sparse_early_usemaps_alloc_pgdat_section()
367 struct pglist_data *pgdat = NODE_DATA(nid); in check_usemap_section_nr() local
405 sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat, in sparse_early_usemaps_alloc_pgdat_section()
Dshuffle.c153 void __meminit __shuffle_free_memory(pg_data_t *pgdat) in __shuffle_free_memory()
Dbootmem_info.c102 void __init register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node()
Dmm_init.c31 pg_data_t *pgdat = NODE_DATA(nid); in mminit_verify_zonelist() local
/linux-6.1.9/lib/
Dshow_mem.c13 pg_data_t *pgdat; in __show_mem() local
/linux-6.1.9/tools/testing/memblock/
Dmmzone.c9 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat) in next_online_pgdat()
/linux-6.1.9/arch/ia64/include/asm/
Dnodedata.h57 #define LOCAL_DATA_ADDR(pgdat) \ argument
/linux-6.1.9/tools/testing/memblock/linux/
Dmmzone.h10 #define for_each_online_pgdat(pgdat) \ argument

12