Lines Matching refs:credit
305 long credit; in reserve_additional_memory() local
310 credit = balloon_stats.target_pages + balloon_stats.target_unpopulated in reserve_additional_memory()
317 if (credit <= 0) in reserve_additional_memory()
320 balloon_hotplug = round_up(credit, PAGES_PER_SECTION); in reserve_additional_memory()
573 long credit; in balloon_process() local
579 credit = current_credit(); in balloon_process()
581 if (credit > 0) { in balloon_process()
583 state = increase_reservation(credit); in balloon_process()
588 if (credit < 0) in balloon_process()
589 state = decrease_reservation(-credit, GFP_BALLOON); in balloon_process()
597 } while (credit && state == BP_DONE); in balloon_process()