Lines Matching refs:gap
586 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local
593 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed()
594 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed()
795 struct hv_hotadd_gap *gap; in pfn_covered() local
814 gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); in pfn_covered()
815 if (!gap) { in pfn_covered()
820 INIT_LIST_HEAD(&gap->list); in pfn_covered()
821 gap->start_pfn = has->covered_end_pfn; in pfn_covered()
822 gap->end_pfn = start_pfn; in pfn_covered()
823 list_add_tail(&gap->list, &has->gap_list); in pfn_covered()
1997 struct hv_hotadd_gap *gap, *tmp_gap; in balloon_remove() local
2026 list_for_each_entry_safe(gap, tmp_gap, &has->gap_list, list) { in balloon_remove()
2027 list_del(&gap->list); in balloon_remove()
2028 kfree(gap); in balloon_remove()