Lines Matching refs:gap
575 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local
582 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed()
583 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed()
791 struct hv_hotadd_gap *gap; in pfn_covered() local
810 gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); in pfn_covered()
811 if (!gap) { in pfn_covered()
816 INIT_LIST_HEAD(&gap->list); in pfn_covered()
817 gap->start_pfn = has->covered_end_pfn; in pfn_covered()
818 gap->end_pfn = start_pfn; in pfn_covered()
819 list_add_tail(&gap->list, &has->gap_list); in pfn_covered()
1726 struct hv_hotadd_gap *gap, *tmp_gap; in balloon_remove() local
1743 list_for_each_entry_safe(gap, tmp_gap, &has->gap_list, list) { in balloon_remove()
1744 list_del(&gap->list); in balloon_remove()
1745 kfree(gap); in balloon_remove()