Home
last modified time | relevance | path

Searched refs:node_start_pfn (Results 1 – 18 of 18) sorted by relevance

/linux/mm/
H A Dpage_ext.c184 index = pfn - round_down(node_start_pfn(page_to_nid(page)), in lookup_page_ext()
204 if (!IS_ALIGNED(node_start_pfn(nid), MAX_ORDER_NR_PAGES) || in alloc_node_page_ext()
470 start_pfn = node_start_pfn(nid); in page_ext_init()
H A Dmm_init.c1230 unsigned long node_start_pfn, in zone_spanned_pages_in_node() argument
1239 *zone_start_pfn = clamp(node_start_pfn, zone_low, zone_high); in zone_spanned_pages_in_node()
1245 if (*zone_end_pfn < node_start_pfn || *zone_start_pfn > node_end_pfn) in zone_spanned_pages_in_node()
1250 *zone_start_pfn = max(*zone_start_pfn, node_start_pfn); in zone_spanned_pages_in_node()
1299 unsigned long node_start_pfn, in calculate_node_totalpages() argument
1312 node_start_pfn, in calculate_node_totalpages()
1531 pgdat->node_start_pfn = 0; in free_area_init_core_hotplug()
1611 start = pgdat->node_start_pfn & ~(MAX_ORDER_NR_PAGES - 1); in alloc_node_mem_map()
1612 offset = pgdat->node_start_pfn - start; in alloc_node_mem_map()
1634 if (page_to_pfn(mem_map) != pgdat->node_start_pfn) in alloc_node_mem_map()
[all …]
H A Dmemory_hotplug.c501 unsigned long node_start_pfn = 0, node_end_pfn = 0; in update_pgdat_span() local
512 node_start_pfn = zone->zone_start_pfn; in update_pgdat_span()
519 if (zone->zone_start_pfn < node_start_pfn) in update_pgdat_span()
520 node_start_pfn = zone->zone_start_pfn; in update_pgdat_span()
523 pgdat->node_start_pfn = node_start_pfn; in update_pgdat_span()
524 pgdat->node_spanned_pages = node_end_pfn - node_start_pfn; in update_pgdat_span()
715 if (!pgdat->node_spanned_pages || start_pfn < pgdat->node_start_pfn) in resize_pgdat_range()
716 pgdat->node_start_pfn = start_pfn; in resize_pgdat_range()
718 pgdat->node_spanned_pages = max(start_pfn + nr_pages, old_end_pfn) - pgdat->node_start_pfn; in resize_pgdat_range()
H A Dbootmem_info.c114 pfn = pgdat->node_start_pfn; in register_page_bootmem_info_node()
H A Dvmscan.c3317 if (pfn < pgdat->node_start_pfn || pfn >= pgdat_end_pfn(pgdat)) in get_pte_pfn()
3342 if (pfn < pgdat->node_start_pfn || pfn >= pgdat_end_pfn(pgdat)) in get_pmd_pfn()
/linux/arch/sh/include/asm/
H A Dmmzone.h13 if (pfn >= node_start_pfn(nid) && pfn <= node_end_pfn(nid)) in pfn_to_nid()
/linux/arch/sh/mm/
H A Dnuma.c48 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node()
H A Dinit.c218 NODE_DATA(nid)->node_start_pfn = start_pfn; in allocate_pgdat()
/linux/include/linux/
H A Dnode.h131 unsigned long start_pfn = pgdat->node_start_pfn; in register_one_node()
H A Dmmzone.h1335 unsigned long node_start_pfn; member
1443 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) macro
1448 return pgdat->node_start_pfn + pgdat->node_spanned_pages; in pgdat_end_pfn()
/linux/arch/mips/loongson64/
H A Dnuma.c97 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
/linux/kernel/
H A Dvmcore_info.c184 VMCOREINFO_OFFSET(pglist_data, node_start_pfn); in crash_save_vmcoreinfo_init()
/linux/drivers/base/
H A Darch_numa.c203 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
/linux/arch/mips/sgi-ip27/
H A Dip27-memory.c365 NODE_DATA(node)->node_start_pfn = start_pfn; in node_mem_init()
/linux/arch/powerpc/mm/
H A Dnuma.c1100 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_node_data()
/linux/Documentation/mm/
H A Dphysical_memory.rst234 ``node_start_pfn``
/linux/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst150 (pglist_data, node_zones|nr_zones|node_mem_map|node_start_pfn|node_spanned_pages|node_id)
/linux/arch/sparc/mm/
H A Dinit_64.c1088 p->node_start_pfn = start_pfn; in allocate_node_data()