Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.6.21/include/linux/
Dmemory_hotplug.h12 struct pglist_data;
282 void pgdat_resize_lock(struct pglist_data *pgdat, unsigned long *flags) in pgdat_resize_lock()
287 void pgdat_resize_unlock(struct pglist_data *pgdat, unsigned long *flags) in pgdat_resize_unlock()
292 void pgdat_resize_init(struct pglist_data *pgdat) in pgdat_resize_init()
300 static inline void pgdat_resize_lock(struct pglist_data *p, unsigned long *f) {} in pgdat_resize_lock()
301 static inline void pgdat_resize_unlock(struct pglist_data *p, unsigned long *f) {} in pgdat_resize_unlock()
302 static inline void pgdat_resize_init(struct pglist_data *pgdat) {} in pgdat_resize_init()
332 extern void __ref free_area_init_core_hotplug(struct pglist_data *pgdat);
Dpage_ext.h9 struct pglist_data;
58 extern void pgdat_page_ext_init(struct pglist_data *pgdat);
105 static inline void pgdat_page_ext_init(struct pglist_data *pgdat) in pgdat_page_ext_init()
Dvmstat.h172 static inline void node_page_state_add(long x, struct pglist_data *pgdat, in node_page_state_add()
261 extern unsigned long node_page_state(struct pglist_data *pgdat,
263 extern unsigned long node_page_state_pages(struct pglist_data *pgdat,
280 void __mod_node_page_state(struct pglist_data *, enum node_stat_item item, long);
288 void mod_node_page_state(struct pglist_data *, enum node_stat_item, long);
292 extern void inc_node_state(struct pglist_data *, enum node_stat_item);
294 extern void __inc_node_state(struct pglist_data *, enum node_stat_item);
297 extern void __dec_node_state(struct pglist_data *, enum node_stat_item);
325 static inline void __mod_node_page_state(struct pglist_data *pgdat, in __mod_node_page_state()
348 static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) in __inc_node_state()
[all …]
Dmmzone.h116 struct pglist_data;
552 void lru_gen_init_pgdat(struct pglist_data *pgdat);
568 static inline void lru_gen_init_pgdat(struct pglist_data *pgdat) in lru_gen_init_pgdat()
576 static inline void lru_gen_init_pgdat(struct pglist_data *pgdat) in lru_gen_init_pgdat()
642 struct pglist_data *pgdat;
837 struct pglist_data *zone_pgdat;
1265 typedef struct pglist_data { struct
1445 static inline struct pglist_data *lruvec_pgdat(struct lruvec *lruvec) in lruvec_pgdat()
1450 return container_of(lruvec, struct pglist_data, __lruvec); in lruvec_pgdat()
1549 extern struct pglist_data contig_page_data;
[all …]
Dbootmem_info.h21 void __init register_page_bootmem_info_node(struct pglist_data *pgdat);
48 static inline void register_page_bootmem_info_node(struct pglist_data *pgdat) in register_page_bootmem_info_node()
/linux-6.6.21/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.6.21/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.6.21/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 …]
Dworkingset.c243 struct pglist_data *pgdat = folio_pgdat(folio); in lru_gen_eviction()
268 struct pglist_data *pgdat; in lru_gen_test_recent()
383 struct pglist_data *pgdat = folio_pgdat(folio); in workingset_eviction()
425 struct pglist_data *pgdat; in workingset_test_recent()
511 struct pglist_data *pgdat; in workingset_refault()
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()
Dmm_init.c940 struct pglist_data *node = NODE_DATA(nid); in memmap_init()
1069 struct pglist_data *pgdat = zone->zone_pgdat; in memmap_init_zone_device()
1249 static void __init reset_memoryless_node_totalpages(struct pglist_data *pgdat) in reset_memoryless_node_totalpages()
1267 static void __init calculate_node_totalpages(struct pglist_data *pgdat, in calculate_node_totalpages()
1331 static void pgdat_init_split_queue(struct pglist_data *pgdat) in pgdat_init_split_queue()
1340 static void pgdat_init_split_queue(struct pglist_data *pgdat) {} in pgdat_init_split_queue()
1344 static void pgdat_init_kcompactd(struct pglist_data *pgdat) in pgdat_init_kcompactd()
1349 static void pgdat_init_kcompactd(struct pglist_data *pgdat) {} in pgdat_init_kcompactd()
1352 static void __meminit pgdat_init_internals(struct pglist_data *pgdat) in pgdat_init_internals()
1401 struct pglist_data *pgdat = zone->zone_pgdat; in init_currently_empty_zone()
[all …]
/linux-6.6.21/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.6.21/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.6.21/kernel/
Dcrash_core.c635 VMCOREINFO_STRUCT_SIZE(pglist_data); in crash_save_vmcoreinfo_init()
647 VMCOREINFO_OFFSET(pglist_data, node_zones); in crash_save_vmcoreinfo_init()
648 VMCOREINFO_OFFSET(pglist_data, nr_zones); in crash_save_vmcoreinfo_init()
650 VMCOREINFO_OFFSET(pglist_data, node_mem_map); in crash_save_vmcoreinfo_init()
652 VMCOREINFO_OFFSET(pglist_data, node_start_pfn); in crash_save_vmcoreinfo_init()
653 VMCOREINFO_OFFSET(pglist_data, node_spanned_pages); in crash_save_vmcoreinfo_init()
654 VMCOREINFO_OFFSET(pglist_data, node_id); in crash_save_vmcoreinfo_init()
/linux-6.6.21/arch/loongarch/include/asm/
Dmmzone.h12 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/arm64/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/riscv/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/x86/include/asm/
Dmmzone_32.h13 extern struct pglist_data *node_data[];
Dmmzone_64.h13 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/s390/include/asm/
Dmmzone.h13 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/sparc/include/asm/
Dmmzone.h9 extern struct pglist_data *node_data[];
/linux-6.6.21/arch/mips/include/asm/mach-loongson64/
Dmmzone.h17 extern struct pglist_data *__node_data[];

123