• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/

Lines Matching refs:balloon

25  * acts like a "balloon" that can be inflated to reclaim physical pages by
28 * other guests. The balloon can also be deflated to allow the guest to
54 * Various constants controlling rate of inflaint/deflating balloon,
73 * Rates for releasing pages while deflating balloon.
190 /* balloon size in pages */
217 static struct vmballoon balloon;
277 * Retrieve desired balloon size from the host.
288 * max balloon size later. So let us call si_meminfo() every
363 * Quickly release all pages allocated for the balloon. This function is
364 * called when host decides to "reset" balloon for one reason or another.
387 * Perform standard reset sequence by popping the balloon (in case it
404 * Allocate (or reserve) a page for the balloon and notify the host. If host
455 /* update balloon size */
462 * Release the page allocated for the balloon. Note that we first notify
477 /* update balloon size */
485 * balloon but were refused by the host for one reason or another.
501 * Inflate the balloon towards its target size. Note that we try to limit
517 * First try NOSLEEP page allocations to inflate balloon.
520 * free pages in the guest quickly (if the balloon target is high).
522 * the guest to start swapping if balloon target is not met yet,
523 * which is a desired behavior. However, balloon driver can consume
611 * Decrease the size of the balloon allowing guest to use more memory.
648 * adjust balloon as needed. Repeat in 1 sec.
791 INIT_LIST_HEAD(&balloon.pages);
792 INIT_LIST_HEAD(&balloon.refused_pages);
795 balloon.rate_alloc = VMW_BALLOON_RATE_ALLOC_MAX;
796 balloon.rate_free = VMW_BALLOON_RATE_FREE_MAX;
798 INIT_DELAYED_WORK(&balloon.dwork, vmballoon_work);
801 * Start balloon.
803 if (!vmballoon_send_start(&balloon)) {
809 if (!vmballoon_send_guest_id(&balloon)) {
815 error = vmballoon_debugfs_init(&balloon);
819 queue_delayed_work(vmballoon_wq, &balloon.dwork, 0);
831 cancel_delayed_work_sync(&balloon.dwork);
834 vmballoon_debugfs_exit(&balloon);
841 vmballoon_send_start(&balloon);
842 vmballoon_pop(&balloon);