Searched refs:pfn_to_section_nr (Results 1 – 9 of 9) 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()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()729 maps_section_nr = pfn_to_section_nr(page_to_pfn(page)); in free_map_bootmem()790 unsigned long section_nr = pfn_to_section_nr(pfn); in section_deactivate()888 unsigned long section_nr = pfn_to_section_nr(start_pfn); in sparse_add_section()
49 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section()84 section_nr = pfn_to_section_nr(start_pfn); in register_page_bootmem_info_section()
258 unsigned long nr = pfn_to_section_nr(pfn); in pfn_to_online_page()1614 if (!present_section_nr(pfn_to_section_nr(pfn))) in test_pages_in_a_zone()
1252 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() function1433 return __nr_to_section(pfn_to_section_nr(pfn)); in __pfn_to_section()1482 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()1484 ms = __nr_to_section(pfn_to_section_nr(pfn)); in pfn_valid()1497 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_in_present_section()1499 return present_section(__nr_to_section(pfn_to_section_nr(pfn))); in pfn_in_present_section()
1594 set_page_section(page, pfn_to_section_nr(pfn)); in set_page_links()
177 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS) in pfn_valid()
218 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()
891 online_section_nr(pfn_to_section_nr(start_pfn))) in handle_pg_range()