Searched refs:pfn_to_section_nr (Results 1 – 10 of 10) sorted by relevance
195 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()
50 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()
240 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()
328 unsigned long nr = pfn_to_section_nr(pfn); in pfn_to_online_page()
133 def pfn_to_section_nr(self, pfn): member in aarch64_page_ops140 return self.__nr_to_section(self.pfn_to_section_nr(pfn))169 if self.pfn_to_section_nr(pfn) >= self.NR_MEM_SECTIONS:
1748 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() function1956 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()
2027 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
169 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()
60 return memory_block_id(pfn_to_section_nr(pfn)); in pfn_to_block_id()
903 online_section_nr(pfn_to_section_nr(start_pfn))) in handle_pg_range()