Home
last modified time | relevance | path

Searched refs:PAGES_PER_SECTION (Results 1 – 7 of 7) sorted by relevance

/arch/x86/mm/
Dnuma_32.c55 start = round_down(start, PAGES_PER_SECTION); in memory_present()
56 end = round_up(end, PAGES_PER_SECTION); in memory_present()
57 for (pfn = start; pfn < end; pfn += PAGES_PER_SECTION) { in memory_present()
58 physnode_map[pfn / PAGES_PER_SECTION] = nid; in memory_present()
Dnuma.c543 if (pfn_align && pfn_align < PAGES_PER_SECTION) { in numa_register_memblks()
546 PFN_PHYS(PAGES_PER_SECTION) >> 20); in numa_register_memblks()
/arch/x86/include/asm/
Dmmzone_32.h29 #define PAGES_PER_SECTION (MAX_NR_PAGES/MAX_SECTIONS) macro
36 return((int) physnode_map[(pfn) / PAGES_PER_SECTION]); in pfn_to_nid()
/arch/arm64/mm/
Dinit.c325 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
344 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap()
345 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/arch/arm/mm/
Dinit.c381 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
407 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap()
409 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/arch/powerpc/mm/
Dinit_64.c180 for (; start < end; start += (PAGES_PER_SECTION * sizeof(struct page))) in vmemmap_populated()
/arch/powerpc/platforms/pseries/
Dhotplug-memory.c213 rc &= is_mem_section_removable(pfn, PAGES_PER_SECTION); in lmb_is_removable()