Searched refs:section_nr_to_pfn (Results 1 – 5 of 5) sorted by relevance
283 (unsigned long)(mem_map - (section_nr_to_pfn(pnum))); in sparse_encode_mem_map()297 return ((struct page *)coded_mem_map) + section_nr_to_pfn(pnum); in sparse_decode_mem_map()522 unsigned long pfn = section_nr_to_pfn(pnum); in sparse_init_nid()918 if (section_nr_to_pfn(section_nr) != start_pfn) in sparse_add_section()919 memmap = pfn_to_page(section_nr_to_pfn(section_nr)); in sparse_add_section()
1976 beginpa = PFN_PHYS(section_nr_to_pfn(mem->start_section_nr)); in check_memblock_offlined_cb()2186 page = pfn_to_online_page(section_nr_to_pfn(mem->start_section_nr)); in try_offline_memory_block()
180 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in memory_block_online()224 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in memory_block_offline()381 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in phys_device_show()406 unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in valid_zones_show()648 const unsigned long start_pfn = section_nr_to_pfn(mem->start_section_nr); in early_node_zone_for_memory_block()
778 unsigned long start_pfn = section_nr_to_pfn(mem_blk->start_section_nr); in register_mem_block_under_node_early()
1600 static inline unsigned long section_nr_to_pfn(unsigned long sec) in section_nr_to_pfn() function