Home
last modified time | relevance | path

Searched refs:pfn_to_section_nr (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/mm/
Dsparse.c196 int end_sec = pfn_to_section_nr(pfn + nr_pages - 1); in subsection_map_init()
197 unsigned long nr, start_sec = pfn_to_section_nr(pfn); in subsection_map_init()
246 unsigned long section = pfn_to_section_nr(pfn); in memory_present()
376 usemap_snr = pfn_to_section_nr(__pa(usage) >> PAGE_SHIFT); in check_usemap_section_nr()
377 pgdat_snr = pfn_to_section_nr(pgdat_to_phys(pgdat) >> PAGE_SHIFT); in check_usemap_section_nr()
598 unsigned long section_nr = pfn_to_section_nr(pfn); in online_mem_sections()
616 unsigned long section_nr = pfn_to_section_nr(pfn); in offline_mem_sections()
732 maps_section_nr = pfn_to_section_nr(page_to_pfn(page)); in free_map_bootmem()
793 unsigned long section_nr = pfn_to_section_nr(pfn); in section_deactivate()
894 unsigned long section_nr = pfn_to_section_nr(start_pfn); in sparse_add_section()
Dbootmem_info.c50 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section()
85 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section()
Dmemory_hotplug.c261 unsigned long nr = pfn_to_section_nr(pfn); in pfn_to_online_page()
/linux-6.1.9/include/linux/
Dmmzone.h1596 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() function
1803 return __nr_to_section(pfn_to_section_nr(pfn)); in __pfn_to_section()
1852 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()
1867 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_in_present_section()
Dmm.h1652 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dhotplug-memory.c217 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()
/linux-6.1.9/drivers/base/
Dmemory.c60 return memory_block_id(pfn_to_section_nr(pfn)); in pfn_to_block_id()
/linux-6.1.9/drivers/hv/
Dhv_balloon.c898 online_section_nr(pfn_to_section_nr(start_pfn))) in handle_pg_range()