Home
last modified time | relevance | path

Searched refs:pglist_data (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.1.9/tools/testing/memblock/linux/
Dmmzone.h7 struct pglist_data *first_online_pgdat(void);
8 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat);
32 typedef struct pglist_data { struct
/linux-6.1.9/tools/testing/memblock/
Dmmzone.c4 struct pglist_data *first_online_pgdat(void) in first_online_pgdat()
9 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat) in next_online_pgdat()
/linux-6.1.9/arch/ia64/include/asm/
Dnodedata.h25 struct pglist_data;
29 struct pglist_data *pg_data_ptrs[MAX_NUMNODES];
59 L1_CACHE_ALIGN(sizeof(struct pglist_data))))
/linux-6.1.9/include/linux/
Dmemory_hotplug.h12 struct pglist_data;
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()
290 void pgdat_resize_init(struct pglist_data *pgdat) in pgdat_resize_init()
298 static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {} in pgdat_resize_lock()
299 static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {} in pgdat_resize_unlock()
300 static inline void pgdat_resize_init(struct pglist_data *pgdat) {} in pgdat_resize_init()
333 extern void __ref free_area_init_core_hotplug(struct pglist_data *pgdat);
Dpage_ext.h9 struct pglist_data;
41 extern void pgdat_page_ext_init(struct pglist_data *pgdat);
82 static inline void pgdat_page_ext_init(struct pglist_data *pgdat) in pgdat_page_ext_init()
Dvmstat.h166 static inline void node_page_state_add(long x, struct pglist_data *pgdat, in node_page_state_add()
255 extern unsigned long node_page_state(struct pglist_data *pgdat,
257 extern unsigned long node_page_state_pages(struct pglist_data *pgdat,
274 void __mod_node_page_state(struct pglist_data *, enum node_stat_item item, long);
282 void mod_node_page_state(struct pglist_data *, enum node_stat_item, long);
286 extern void inc_node_state(struct pglist_data *, enum node_stat_item);
288 extern void __inc_node_state(struct pglist_data *, enum node_stat_item);
291 extern void __dec_node_state(struct pglist_data *, enum node_stat_item);
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()
[all …]
Dbootmem_info.h20 void __init register_page_bootmem_info_node(struct pglist_data *pgdat);
47 static inline void register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node()
Dmmzone.h122 struct pglist_data;
532 struct pglist_data *pgdat;
728 struct pglist_data *zone_pgdat;
1097 typedef struct pglist_data { struct
1272 static inline struct pglist_data *lruvec_pgdat(struct lruvec *lruvec) in lruvec_pgdat()
1277 return container_of(lruvec, struct pglist_data, __lruvec); in lruvec_pgdat()
1397 extern struct pglist_data contig_page_data;
1398 static inline struct pglist_data *NODE_DATA(int nid) in NODE_DATA()
1409 extern struct pglist_data *first_online_pgdat(void);
1410 extern struct pglist_data *next_online_pgdat(struct pglist_data *pgdat);
/linux-6.1.9/arch/sh/mm/
Dnuma.c17 struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
44 NODE_DATA(nid) = memblock_alloc_node(sizeof(struct pglist_data), in setup_bootmem_node()
48 __func__, sizeof(struct pglist_data), SMP_CACHE_BYTES, in setup_bootmem_node()
/linux-6.1.9/mm/
Dmmzone.c13 struct pglist_data *first_online_pgdat(void) in first_online_pgdat()
18 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat) in next_online_pgdat()
Dvmstat.c274 struct pglist_data *pgdat; in refresh_zone_stat_thresholds()
287 struct pglist_data *pgdat = zone->zone_pgdat; in refresh_zone_stat_thresholds()
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()
733 void mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, in mod_node_page_state()
[all …]
Dbootmem_info.c102 void __init register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node()
108 nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT; in register_page_bootmem_info_node()
Dworkingset.c232 struct pglist_data *pgdat = folio_pgdat(folio); in lru_gen_eviction()
257 struct pglist_data *pgdat; in lru_gen_refault()
353 struct pglist_data *pgdat = folio_pgdat(folio); in workingset_eviction()
392 struct pglist_data *pgdat; in workingset_refault()
/linux-6.1.9/kernel/
Dcrash_core.c444 VMCOREINFO_STRUCT_SIZE(pglist_data); in crash_save_vmcoreinfo_init()
458 VMCOREINFO_OFFSET(pglist_data, node_zones); in crash_save_vmcoreinfo_init()
459 VMCOREINFO_OFFSET(pglist_data, nr_zones); in crash_save_vmcoreinfo_init()
461 VMCOREINFO_OFFSET(pglist_data, node_mem_map); in crash_save_vmcoreinfo_init()
463 VMCOREINFO_OFFSET(pglist_data, node_start_pfn); in crash_save_vmcoreinfo_init()
464 VMCOREINFO_OFFSET(pglist_data, node_spanned_pages); in crash_save_vmcoreinfo_init()
465 VMCOREINFO_OFFSET(pglist_data, node_id); in crash_save_vmcoreinfo_init()
/linux-6.1.9/arch/sh/include/asm/
Dmmzone.h8 extern struct pglist_data *node_data[];
22 static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn) in pfn_to_pgdat()
/linux-6.1.9/arch/mips/loongson64/
Dnuma.c32 struct pglist_data *__node_data[MAX_NUMNODES];
86 struct pglist_data *nd; in node_mem_init()
106 memset(nd, 0, sizeof(struct pglist_data)); in node_mem_init()
/linux-6.1.9/arch/arm64/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/riscv/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/s390/include/asm/
Dmmzone.h13 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/x86/include/asm/
Dmmzone_32.h13 extern struct pglist_data *node_data[];
Dmmzone_64.h13 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/loongarch/include/asm/
Dmmzone.h12 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/sparc/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.1.9/arch/mips/include/asm/mach-loongson64/
Dmmzone.h17 extern struct pglist_data *__node_data[];
/linux-6.1.9/arch/powerpc/include/asm/
Dmmzone.h23 extern struct pglist_data *node_data[];

123