Home
last modified time | relevance | path

Searched refs:pgdat (Results 1 – 12 of 12) sorted by relevance

/arch/avr32/mm/
Dinit.c76 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local
80 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()
81 low = pgdat->bdata->node_low_pfn; in paging_init()
92 pgdat->node_id, pgdat->node_mem_map); in paging_init()
103 pg_data_t *pgdat; in mem_init() local
106 for_each_online_pgdat(pgdat) in mem_init()
108 __va(pgdat_end_pfn(pgdat) << PAGE_SHIFT)); in mem_init()
/arch/m68k/include/asm/
Dpage_mm.h157 struct pglist_data *pgdat; \
158 pgdat = __virt_to_node((unsigned long)pfn_to_virt(__pfn)); \
159 pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \
163 struct pglist_data *pgdat; \
164 pgdat = &pg_data_map[page_to_nid(__p)]; \
165 ((__p) - pgdat->node_mem_map) + pgdat->node_start_pfn; \
/arch/ia64/include/asm/
Dnodedata.h57 #define LOCAL_DATA_ADDR(pgdat) \ argument
58 ((struct ia64_node_data *)((u64)(pgdat) + \
/arch/ia64/mm/
Dinit.c380 pg_data_t *pgdat = NODE_DATA(node); in vmemmap_find_next_valid_pfn() local
382 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i]; in vmemmap_find_next_valid_pfn()
384 stop_address = (unsigned long) &vmem_map[pgdat_end_pfn(pgdat)]; in vmemmap_find_next_valid_pfn()
427 return hole_next_pfn - pgdat->node_start_pfn; in vmemmap_find_next_valid_pfn()
650 pg_data_t *pgdat; in arch_add_memory() local
656 pgdat = NODE_DATA(nid); in arch_add_memory()
658 zone = pgdat->node_zones + in arch_add_memory()
698 pg_data_t *pgdat; in show_mem() local
703 for_each_online_pgdat(pgdat) { in show_mem()
707 int nid = pgdat->node_id; in show_mem()
[all …]
Ddiscontig.c743 void arch_free_nodedata(pg_data_t *pgdat) in arch_free_nodedata() argument
745 kfree(pgdat); in arch_free_nodedata()
/arch/sh/mm/
Dinit.c382 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local
385 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()
386 low = pgdat->bdata->node_low_pfn; in paging_init()
410 pg_data_t *pgdat; in mem_init() local
415 for_each_online_pgdat(pgdat) in mem_init()
417 __va(pgdat_end_pfn(pgdat) << PAGE_SHIFT)); in mem_init()
490 pg_data_t *pgdat; in arch_add_memory() local
495 pgdat = NODE_DATA(nid); in arch_add_memory()
498 ret = __add_pages(nid, pgdat->node_zones + in arch_add_memory()
/arch/c6x/mm/
Dinit.c38 struct pglist_data *pgdat = NODE_DATA(0); in paging_init() local
53 pgdat->node_zones[ZONE_NORMAL].zone_start_pfn = in paging_init()
/arch/s390/mm/
Dinit.c157 pg_data_t *pgdat = NODE_DATA(nid); in arch_add_memory() local
166 zone = pgdat->node_zones + i; in arch_add_memory()
/arch/metag/mm/
Dinit.c358 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local
361 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()
362 low = pgdat->bdata->node_low_pfn; in paging_init()
/arch/unicore32/mm/
Dinit.c137 pg_data_t *pgdat; in uc32_bootmem_init() local
152 pgdat = NODE_DATA(0); in uc32_bootmem_init()
153 init_bootmem_node(pgdat, __phys_to_pfn(bitmap), start_pfn, end_pfn); in uc32_bootmem_init()
/arch/parisc/mm/
Dinit.c659 pg_data_t *pgdat; in show_mem() local
664 for_each_online_pgdat(pgdat) { in show_mem()
668 pgdat_resize_lock(pgdat, &flags); in show_mem()
670 struct zone *zone = &pgdat->node_zones[zoneid]; in show_mem()
677 pgdat_resize_unlock(pgdat, &flags); in show_mem()
/arch/x86/mm/
Dinit_64.c666 struct pglist_data *pgdat = NODE_DATA(nid); in arch_add_memory() local
667 struct zone *zone = pgdat->node_zones + in arch_add_memory()