/linux-4.19.296/include/linux/ |
D | memory_hotplug.h | 153 extern void arch_free_nodedata(pg_data_t *pgdat); 154 extern void arch_refresh_nodedata(int nid, pg_data_t *pgdat); 159 #define arch_free_nodedata(pgdat) generic_free_nodedata(pgdat) argument 176 #define generic_free_nodedata(pgdat) kfree(pgdat) argument 179 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() argument 181 node_data[nid] = pgdat; in arch_refresh_nodedata() 192 static inline void generic_free_nodedata(pg_data_t *pgdat) in generic_free_nodedata() argument 195 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() argument 202 extern void __init register_page_bootmem_info_node(struct pglist_data *pgdat); 204 static inline void register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node() argument [all …]
|
D | bootmem.h | 59 extern unsigned long init_bootmem_node(pg_data_t *pgdat, 66 extern void reset_node_managed_pages(pg_data_t *pgdat); 69 extern void free_bootmem_node(pg_data_t *pgdat, 89 extern int reserve_bootmem_node(pg_data_t *pgdat, 100 extern void *__alloc_bootmem_node(pg_data_t *pgdat, 104 void *__alloc_bootmem_node_high(pg_data_t *pgdat, 108 extern void *__alloc_bootmem_node_nopanic(pg_data_t *pgdat, 112 void *___alloc_bootmem_node_nopanic(pg_data_t *pgdat, 123 extern void *__alloc_bootmem_low_node(pg_data_t *pgdat, 149 #define alloc_bootmem_node(pgdat, x) \ argument [all …]
|
D | mmzone.h | 244 struct pglist_data *pgdat; member 721 #define pgdat_page_nr(pgdat, pagenr) ((pgdat)->node_mem_map + (pagenr)) argument 723 #define pgdat_page_nr(pgdat, pagenr) pfn_to_page((pgdat)->node_start_pfn + (pagenr)) argument 734 static inline struct lruvec *node_lruvec(struct pglist_data *pgdat) in node_lruvec() argument 736 return &pgdat->lruvec; in node_lruvec() 739 static inline unsigned long pgdat_end_pfn(pg_data_t *pgdat) in pgdat_end_pfn() argument 741 return pgdat->node_start_pfn + pgdat->node_spanned_pages; in pgdat_end_pfn() 744 static inline bool pgdat_is_empty(pg_data_t *pgdat) in pgdat_is_empty() argument 746 return !pgdat->node_start_pfn && !pgdat->node_spanned_pages; in pgdat_is_empty() 751 void build_all_zonelists(pg_data_t *pgdat); [all …]
|
D | vmstat.h | 170 static inline void node_page_state_add(long x, struct pglist_data *pgdat, in node_page_state_add() argument 173 atomic_long_add(x, &pgdat->vm_stat[item]); in node_page_state_add() 235 extern unsigned long node_page_state(struct pglist_data *pgdat, 283 void set_pgdat_percpu_threshold(pg_data_t *pgdat, 297 static inline void __mod_node_page_state(struct pglist_data *pgdat, in __mod_node_page_state() argument 300 node_page_state_add(delta, pgdat, item); in __mod_node_page_state() 309 static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __inc_node_state() argument 311 atomic_long_inc(&pgdat->vm_stat[item]); in __inc_node_state() 321 static inline void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __dec_node_state() argument 323 atomic_long_dec(&pgdat->vm_stat[item]); in __dec_node_state() [all …]
|
D | compaction.h | 99 extern void reset_isolation_suitable(pg_data_t *pgdat); 179 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx); 182 static inline void reset_isolation_suitable(pg_data_t *pgdat) in reset_isolation_suitable() argument 224 static inline void wakeup_kcompactd(pg_data_t *pgdat, int order, int classzone_idx) in wakeup_kcompactd() argument
|
D | memcontrol.h | 69 pg_data_t *pgdat; member 369 static inline struct lruvec *mem_cgroup_lruvec(struct pglist_data *pgdat, in mem_cgroup_lruvec() argument 376 lruvec = node_lruvec(pgdat); in mem_cgroup_lruvec() 380 mz = mem_cgroup_nodeinfo(memcg, pgdat->node_id); in mem_cgroup_lruvec() 388 if (unlikely(lruvec->pgdat != pgdat)) in mem_cgroup_lruvec() 389 lruvec->pgdat = pgdat; in mem_cgroup_lruvec() 693 pg_data_t *pgdat = page_pgdat(page); in __mod_lruvec_page_state() local 698 __mod_node_page_state(pgdat, idx, val); in __mod_lruvec_page_state() 702 lruvec = mem_cgroup_lruvec(pgdat, page->mem_cgroup); in __mod_lruvec_page_state() 716 unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order, [all …]
|
D | node.h | 58 struct pglist_data *pgdat = NODE_DATA(nid); in register_one_node() local 59 unsigned long start_pfn = pgdat->node_start_pfn; in register_one_node() 60 unsigned long end_pfn = start_pfn + pgdat->node_spanned_pages; in register_one_node()
|
D | page_ext.h | 39 extern void pgdat_page_ext_init(struct pglist_data *pgdat); 58 static inline void pgdat_page_ext_init(struct pglist_data *pgdat) in pgdat_page_ext_init() argument
|
D | mm_inline.h | 30 struct pglist_data *pgdat = lruvec_pgdat(lruvec); in __update_lru_size() local 32 __mod_node_page_state(pgdat, NR_LRU_BASE + lru, nr_pages); in __update_lru_size() 33 __mod_zone_page_state(&pgdat->node_zones[zid], in __update_lru_size()
|
D | page_owner.h | 19 pg_data_t *pgdat, struct zone *zone);
|
D | writeback.h | 315 bool node_dirty_ok(struct pglist_data *pgdat);
|
D | swap.h | 363 pg_data_t *pgdat,
|
/linux-4.19.296/drivers/base/ |
D | node.c | 68 struct pglist_data *pgdat = NODE_DATA(nid); in node_read_meminfo() local 87 nid, K(node_page_state(pgdat, NR_ACTIVE_ANON) + in node_read_meminfo() 88 node_page_state(pgdat, NR_ACTIVE_FILE)), in node_read_meminfo() 89 nid, K(node_page_state(pgdat, NR_INACTIVE_ANON) + in node_read_meminfo() 90 node_page_state(pgdat, NR_INACTIVE_FILE)), in node_read_meminfo() 91 nid, K(node_page_state(pgdat, NR_ACTIVE_ANON)), in node_read_meminfo() 92 nid, K(node_page_state(pgdat, NR_INACTIVE_ANON)), in node_read_meminfo() 93 nid, K(node_page_state(pgdat, NR_ACTIVE_FILE)), in node_read_meminfo() 94 nid, K(node_page_state(pgdat, NR_INACTIVE_FILE)), in node_read_meminfo() 95 nid, K(node_page_state(pgdat, NR_UNEVICTABLE)), in node_read_meminfo() [all …]
|
/linux-4.19.296/lib/ |
D | show_mem.c | 14 pg_data_t *pgdat; in show_mem() local 20 for_each_online_pgdat(pgdat) { in show_mem() 24 pgdat_resize_lock(pgdat, &flags); in show_mem() 26 struct zone *zone = &pgdat->node_zones[zoneid]; in show_mem() 36 pgdat_resize_unlock(pgdat, &flags); in show_mem()
|
/linux-4.19.296/fs/ |
D | dcache.c | 1675 pg_data_t *pgdat = page_pgdat(virt_to_page(ext)); in __d_alloc() local 1676 mod_node_page_state(pgdat, NR_INDIRECTLY_RECLAIMABLE_BYTES, in __d_alloc()
|