Lines Matching refs:balloon_stats

152 struct balloon_stats balloon_stats;  variable
153 EXPORT_SYMBOL_GPL(balloon_stats);
174 balloon_stats.balloon_high++; in __balloon_append()
177 balloon_stats.balloon_low++; in __balloon_append()
201 balloon_stats.balloon_high--; in balloon_retrieve()
203 balloon_stats.balloon_low--; in balloon_retrieve()
222 balloon_stats.schedule_delay = 1; in update_schedule()
223 balloon_stats.retry_count = 1; in update_schedule()
227 ++balloon_stats.retry_count; in update_schedule()
229 if (balloon_stats.max_retry_count != RETRY_UNLIMITED && in update_schedule()
230 balloon_stats.retry_count > balloon_stats.max_retry_count) { in update_schedule()
231 balloon_stats.schedule_delay = 1; in update_schedule()
232 balloon_stats.retry_count = 1; in update_schedule()
237 balloon_stats.schedule_delay <<= 1; in update_schedule()
239 if (balloon_stats.schedule_delay > balloon_stats.max_schedule_delay) in update_schedule()
240 balloon_stats.schedule_delay = balloon_stats.max_schedule_delay; in update_schedule()
304 credit = balloon_stats.target_pages + balloon_stats.target_unpopulated in reserve_additional_memory()
305 - balloon_stats.total_pages; in reserve_additional_memory()
369 balloon_stats.total_pages += balloon_hotplug; in reserve_additional_memory()
403 balloon_stats.target_pages = balloon_stats.current_pages + in reserve_additional_memory()
404 balloon_stats.target_unpopulated; in reserve_additional_memory()
411 return balloon_stats.target_pages - balloon_stats.current_pages; in current_credit()
416 return balloon_stats.balloon_low || balloon_stats.balloon_high; in balloon_is_inflated()
453 balloon_stats.current_pages += rc; in increase_reservation()
510 balloon_stats.current_pages -= nr_pages; in decrease_reservation()
546 timeout = balloon_stats.schedule_delay * HZ; in balloon_thread()
595 balloon_stats.target_pages = target; in balloon_set_new_target()
641 balloon_stats.target_unpopulated += nr_pages; in alloc_xenballooned_pages()
676 balloon_stats.target_unpopulated -= nr_pages - pgno; in alloc_xenballooned_pages()
697 balloon_stats.target_unpopulated -= nr_pages; in free_xenballooned_pages()
729 balloon_stats.total_pages += extra_pfn_end - start_pfn; in balloon_add_region()
743 balloon_stats.current_pages = xen_pv_domain() in balloon_init()
747 balloon_stats.current_pages = get_num_physpages(); in balloon_init()
749 balloon_stats.target_pages = balloon_stats.current_pages; in balloon_init()
750 balloon_stats.balloon_low = 0; in balloon_init()
751 balloon_stats.balloon_high = 0; in balloon_init()
752 balloon_stats.total_pages = balloon_stats.current_pages; in balloon_init()
754 balloon_stats.schedule_delay = 1; in balloon_init()
755 balloon_stats.max_schedule_delay = 32; in balloon_init()
756 balloon_stats.retry_count = 1; in balloon_init()
757 balloon_stats.max_retry_count = 4; in balloon_init()