Lines Matching refs:has

614 				struct hv_hotadd_state *has)  in hv_mem_hot_add()  argument
624 has->ha_end_pfn += HA_CHUNK; in hv_mem_hot_add()
634 has->covered_end_pfn += processed_pfn; in hv_mem_hot_add()
656 has->ha_end_pfn -= HA_CHUNK; in hv_mem_hot_add()
657 has->covered_end_pfn -= processed_pfn; in hv_mem_hot_add()
679 struct hv_hotadd_state *has; in hv_online_page() local
684 has = list_entry(cur, struct hv_hotadd_state, list); in hv_online_page()
685 cur_start_pgp = (unsigned long)pfn_to_page(has->start_pfn); in hv_online_page()
686 cur_end_pgp = (unsigned long)pfn_to_page(has->covered_end_pfn); in hv_online_page()
704 struct hv_hotadd_state *has; in pfn_covered() local
711 has = list_entry(cur, struct hv_hotadd_state, list); in pfn_covered()
717 if ((start_pfn >= has->end_pfn)) in pfn_covered()
723 if ((start_pfn + pfn_cnt) > has->end_pfn) { in pfn_covered()
724 residual = (start_pfn + pfn_cnt - has->end_pfn); in pfn_covered()
732 has->end_pfn += new_inc; in pfn_covered()
740 if (has->covered_end_pfn != start_pfn) in pfn_covered()
741 has->covered_end_pfn = start_pfn; in pfn_covered()
757 struct hv_hotadd_state *has; in handle_pg_range() local
765 has = list_entry(cur, struct hv_hotadd_state, list); in handle_pg_range()
771 if ((start_pfn >= has->end_pfn)) in handle_pg_range()
774 old_covered_state = has->covered_end_pfn; in handle_pg_range()
776 if (start_pfn < has->ha_end_pfn) { in handle_pg_range()
782 pgs_ol = has->ha_end_pfn - start_pfn; in handle_pg_range()
792 if (start_pfn > has->start_pfn && in handle_pg_range()
796 has->covered_end_pfn += pgs_ol; in handle_pg_range()
800 if ((has->ha_end_pfn < has->end_pfn) && (pfn_cnt > 0)) { in handle_pg_range()
808 size = (has->end_pfn - has->ha_end_pfn); in handle_pg_range()
816 hv_mem_hot_add(has->ha_end_pfn, size, pfn_cnt, has); in handle_pg_range()
822 return has->covered_end_pfn - old_covered_state; in handle_pg_range()
1583 struct hv_hotadd_state *has; in balloon_remove() local
1599 has = list_entry(cur, struct hv_hotadd_state, list); in balloon_remove()
1600 list_del(&has->list); in balloon_remove()
1601 kfree(has); in balloon_remove()