Searched refs:pgdat (Results 1 – 12 of 12) sorted by relevance
76 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local80 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() local106 for_each_online_pgdat(pgdat) in mem_init()108 __va(pgdat_end_pfn(pgdat) << PAGE_SHIFT)); in mem_init()
157 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; \
57 #define LOCAL_DATA_ADDR(pgdat) \ argument58 ((struct ia64_node_data *)((u64)(pgdat) + \
380 pg_data_t *pgdat = NODE_DATA(node); in vmemmap_find_next_valid_pfn() local382 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() local656 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() local703 for_each_online_pgdat(pgdat) { in show_mem()707 int nid = pgdat->node_id; in show_mem()[all …]
743 void arch_free_nodedata(pg_data_t *pgdat) in arch_free_nodedata() argument745 kfree(pgdat); in arch_free_nodedata()
382 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local385 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() local415 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() local495 pgdat = NODE_DATA(nid); in arch_add_memory()498 ret = __add_pages(nid, pgdat->node_zones + in arch_add_memory()
38 struct pglist_data *pgdat = NODE_DATA(0); in paging_init() local53 pgdat->node_zones[ZONE_NORMAL].zone_start_pfn = in paging_init()
157 pg_data_t *pgdat = NODE_DATA(nid); in arch_add_memory() local166 zone = pgdat->node_zones + i; in arch_add_memory()
358 pg_data_t *pgdat = NODE_DATA(nid); in paging_init() local361 start_pfn = pgdat->bdata->node_min_pfn; in paging_init()362 low = pgdat->bdata->node_low_pfn; in paging_init()
137 pg_data_t *pgdat; in uc32_bootmem_init() local152 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()
659 pg_data_t *pgdat; in show_mem() local664 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()
666 struct pglist_data *pgdat = NODE_DATA(nid); in arch_add_memory() local667 struct zone *zone = pgdat->node_zones + in arch_add_memory()