Lines Matching refs:start_pfn
436 unsigned long start_pfn; member
547 static void hv_bring_pgs_online(unsigned long start_pfn, unsigned long size) in hv_bring_pgs_online() argument
553 pg = pfn_to_page(start_pfn + i); in hv_bring_pgs_online()
566 unsigned long start_pfn; in hv_mem_hot_add() local
571 start_pfn = start + (i * HA_CHUNK); in hv_mem_hot_add()
587 nid = memory_add_physaddr_to_nid(PFN_PHYS(start_pfn)); in hv_mem_hot_add()
588 ret = add_memory(nid, PFN_PHYS((start_pfn)), in hv_mem_hot_add()
656 static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) in pfn_covered() argument
672 if ((start_pfn >= has->end_pfn)) in pfn_covered()
678 if ((start_pfn + pfn_cnt) > has->end_pfn) { in pfn_covered()
679 residual = (start_pfn + pfn_cnt - has->end_pfn); in pfn_covered()
695 if (has->covered_end_pfn != start_pfn) { in pfn_covered()
696 has->covered_end_pfn = start_pfn; in pfn_covered()
697 has->covered_start_pfn = start_pfn; in pfn_covered()
709 unsigned long start_pfn = pg_start; in handle_pg_range() local
727 if ((start_pfn >= has->end_pfn)) in handle_pg_range()
732 if (start_pfn < has->ha_end_pfn) { in handle_pg_range()
738 pgs_ol = has->ha_end_pfn - start_pfn; in handle_pg_range()
741 hv_bring_pgs_online(start_pfn, pgs_ol); in handle_pg_range()
802 ha_region->start_pfn = rg_start; in process_hot_add()