Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dsparse.c195 int end_sec = pfn_to_section_nr(pfn + nr_pages - 1); in subsection_map_init()
196 unsigned long nr, start_sec = pfn_to_section_nr(pfn); in subsection_map_init()
245 unsigned long section = pfn_to_section_nr(pfn); in memory_present()
375 usemap_snr = pfn_to_section_nr(__pa(usage) >> PAGE_SHIFT); in check_usemap_section_nr()
376 pgdat_snr = pfn_to_section_nr(pgdat_to_phys(pgdat) >> PAGE_SHIFT); in check_usemap_section_nr()
597 unsigned long section_nr = pfn_to_section_nr(pfn); in online_mem_sections()
615 unsigned long section_nr = pfn_to_section_nr(pfn); in offline_mem_sections()
731 maps_section_nr = pfn_to_section_nr(page_to_pfn(page)); in free_map_bootmem()
792 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()
Dcompaction.c240 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections()
260 unsigned long start_nr = pfn_to_section_nr(start_pfn); in skip_offline_sections_reverse()
Dmemory_hotplug.c328 unsigned long nr = pfn_to_section_nr(pfn); in pfn_to_online_page()
/linux-6.6.21/scripts/gdb/linux/
Dmm.py133 def pfn_to_section_nr(self, pfn): member in aarch64_page_ops
140 return self.__nr_to_section(self.pfn_to_section_nr(pfn))
169 if self.pfn_to_section_nr(pfn) >= self.NR_MEM_SECTIONS:
/linux-6.6.21/include/linux/
Dmmzone.h1748 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() function
1956 return __nr_to_section(pfn_to_section_nr(pfn)); in __pfn_to_section()
2006 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()
2027 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_in_present_section()
Dmm.h2027 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dhotplug-memory.c169 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()
/linux-6.6.21/drivers/base/
Dmemory.c60 return memory_block_id(pfn_to_section_nr(pfn)); in pfn_to_block_id()
/linux-6.6.21/drivers/hv/
Dhv_balloon.c903 online_section_nr(pfn_to_section_nr(start_pfn))) in handle_pg_range()