Searched refs:pfn_to_section_nr (Results 1 – 8 of 8) sorted by relevance
196 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()
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()
261 unsigned long nr = pfn_to_section_nr(pfn); in pfn_to_online_page()
1596 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() function1803 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()
1652 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
217 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()
898 online_section_nr(pfn_to_section_nr(start_pfn))) in handle_pg_range()