/kernel/linux/linux-5.10/include/linux/ |
H A D | balloon_compaction.h | 5 * Common interface definitions for making balloon pages movable by compaction. 10 * page->private is used to reference the responsible balloon device. 16 * performing balloon page compaction. In order to sort out these racy scenarios 17 * and safely perform balloon's page compaction and migration we must, always, 20 * i. when updating a balloon's page ->mapping element, strictly do it under 27 * ii. isolation or dequeueing procedure must remove the page from balloon 31 * the aforementioned balloon page corner case, as well as to ensure the simple 32 * set of exposed rules are satisfied while we are dealing with balloon pages 49 * This struct is used to allow the common balloon compaction interface 50 * procedures to find the proper balloon devic 72 balloon_devinfo_init(struct balloon_dev_info *balloon) balloon_devinfo_init() argument 99 balloon_page_insert(struct balloon_dev_info *balloon, struct page *page) balloon_page_insert() argument 145 balloon_page_insert(struct balloon_dev_info *balloon, struct page *page) balloon_page_insert() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | balloon_compaction.h | 5 * Common interface definitions for making balloon pages movable by compaction. 10 * page->private is used to reference the responsible balloon device. 16 * performing balloon page compaction. In order to sort out these racy scenarios 17 * and safely perform balloon's page compaction and migration we must, always, 20 * i. when updating a balloon's page ->mapping element, strictly do it under 27 * ii. isolation or dequeueing procedure must remove the page from balloon 31 * the aforementioned balloon page corner case, as well as to ensure the simple 32 * set of exposed rules are satisfied while we are dealing with balloon pages 49 * This struct is used to allow the common balloon compaction interface 50 * procedures to find the proper balloon devic 71 balloon_devinfo_init(struct balloon_dev_info *balloon) balloon_devinfo_init() argument 91 balloon_page_insert(struct balloon_dev_info *balloon, struct page *page) balloon_page_insert() argument 137 balloon_page_insert(struct balloon_dev_info *balloon, struct page *page) balloon_page_insert() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | vmw_balloon.c | 8 * acts like a "balloon" that can be inflated to reclaim physical pages by 11 * other guests. The balloon can also be deflated to allow the guest to 56 /* Magic number for the balloon mount-point */ 142 * @VMW_BALLOON_CMD_GET_TARGET: Gets the balloon target size. 145 * to be deflated from the balloon. 152 * balloon (up to 512). 159 * that would be invoked when the balloon 273 * @size: balloon actual size in basic page size (frames). 281 * @target: balloon target size in basic page size (frames). 302 * @capabilities: hypervisor balloon capabilitie 402 static struct vmballoon balloon; global() variable [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | vmw_balloon.c | 8 * acts like a "balloon" that can be inflated to reclaim physical pages by 11 * other guests. The balloon can also be deflated to allow the guest to 54 /* Magic number for the balloon mount-point */ 140 * @VMW_BALLOON_CMD_GET_TARGET: Gets the balloon target size. 143 * to be deflated from the balloon. 150 * balloon (up to 512). 157 * that would be invoked when the balloon 271 * @size: balloon actual size in basic page size (frames). 279 * @target: balloon target size in basic page size (frames). 300 * @capabilities: hypervisor balloon capabilitie 395 static struct vmballoon balloon; global() variable [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | balloon_compaction.c | 5 * Common interface for making balloon pages movable by compaction. 30 * balloon_page_list_enqueue() - inserts a list of pages into the balloon page 32 * @b_dev_info: balloon device descriptor where we will insert a new page to 35 * Driver must call this function to properly enqueue balloon pages before 59 * balloon_page_list_dequeue() - removes pages from balloon's page list and 61 * @b_dev_info: balloon device decriptor where we will grab a page from. 66 * balloon pages before definitively releasing it back to the guest system. 70 * Note that this function may fail to dequeue some pages even if the balloon 91 * to be released by the balloon driver. in balloon_page_list_dequeue() 115 * balloon_page_alloc - allocates a new page for insertion into the balloon 237 struct balloon_dev_info *balloon = balloon_page_device(page); balloon_page_migrate() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | balloon_compaction.c | 5 * Common interface for making balloon pages movable by compaction. 30 * balloon_page_list_enqueue() - inserts a list of pages into the balloon page 32 * @b_dev_info: balloon device descriptor where we will insert a new page to 35 * Driver must call this function to properly enqueue balloon pages before 59 * balloon_page_list_dequeue() - removes pages from balloon's page list and 61 * @b_dev_info: balloon device descriptor where we will grab a page from. 66 * balloon pages before definitively releasing it back to the guest system. 70 * Note that this function may fail to dequeue some pages even if the balloon 91 * to be released by the balloon driver. in balloon_page_list_dequeue() 115 * balloon_page_alloc - allocates a new page for insertion into the balloon 235 struct balloon_dev_info *balloon = balloon_page_device(page); balloon_page_migrate() local [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | Makefile | 3 obj-y += grant-table.o features.o balloon.o manage.o time.o 18 obj-$(CONFIG_XEN_BALLOON) += xen-balloon.o
|
H A D | xen-balloon.c | 2 * Xen balloon driver - enables returning/claiming memory to/from Xen. 44 #include <xen/balloon.h> 72 /* The balloon driver will take care of adding memory now. */ in watch_target() 119 pr_err("Failed to set balloon watcher\n"); in balloon_init_watcher()
|
H A D | xlate_mmu.c | 43 #include <xen/balloon.h> 237 pr_warn("%s Couldn't balloon alloc %ld pages rc:%d\n", __func__, in xen_xlate_map_ballooned_pages()
|
H A D | balloon.c | 2 * Xen balloon driver - enables returning/claiming memory to/from Xen. 72 #include <xen/balloon.h> 102 .procname = "balloon", 132 * BP_ECANCELED: error, balloon operation canceled. 142 /* Main waiting point for xen-balloon thread. */ 163 /* balloon_append: add the given page to the balloon. */ 179 /* balloon_retrieve: rescue a page from the balloon, if it is not empty. */ 475 * and add to balloon. in decrease_reservation() 513 * by the balloon lock), or with changes to the Xen hard limit, but we will 682 /* The balloon ma in free_xenballooned_pages() [all...] |
H A D | xen-front-pgdir-shbuf.c | 17 #include <xen/balloon.h>
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | Makefile | 3 obj-y += grant-table.o features.o balloon.o manage.o time.o 18 obj-$(CONFIG_XEN_BALLOON) += xen-balloon.o
|
H A D | xen-balloon.c | 2 * Xen balloon driver - enables returning/claiming memory to/from Xen. 44 #include <xen/balloon.h> 72 /* The balloon driver will take care of adding memory now. */ in watch_target() 119 pr_err("Failed to set balloon watcher\n"); in balloon_init_watcher()
|
H A D | unpopulated-alloc.c | 11 #include <xen/balloon.h>
|
H A D | xlate_mmu.c | 43 #include <xen/balloon.h> 237 pr_warn("%s Couldn't balloon alloc %ld pages rc:%d\n", __func__, in xen_xlate_map_ballooned_pages()
|
H A D | balloon.c | 2 * Xen balloon driver - enables returning/claiming memory to/from Xen. 73 #include <xen/balloon.h> 116 * BP_ECANCELED: error, balloon operation canceled. 126 /* Main waiting point for xen-balloon thread. */ 147 /* balloon_append: add the given page to the balloon. */ 163 /* balloon_retrieve: rescue a page from the balloon, if it is not empty. */ 459 * and add to balloon. in decrease_reservation() 497 * by the balloon lock), or with changes to the Xen hard limit, but we will 666 /* The balloon may be too large now. Shrink it if needed. */ in xen_free_ballooned_pages() 710 pr_info("Initialising balloon drive in balloon_init() [all...] |
H A D | xen-front-pgdir-shbuf.c | 17 #include <xen/balloon.h>
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | xen.h | 61 #include <xen/balloon.h>
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | xen.h | 70 #include <xen/balloon.h>
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_gem.c | 20 #include <xen/balloon.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_gem.c | 19 #include <xen/balloon.h>
|
/kernel/linux/linux-5.10/drivers/hv/ |
H A D | hv_balloon.c | 117 __u64 balloon:1; member 272 * Message to ask the guest to allocate memory - balloon up message. 288 * to the host in response to the balloon message. 309 * Un-balloon message; this message is sent from the host 332 * Un-balloon response message; this message is sent from the guest 1150 * balloon. Compute this and add it to the pressure report. in post_status() 1153 * asking us to balloon them out. in post_status() 1276 /* Refuse to balloon below the floor. */ in balloon_up() 1504 pr_info("Ignore balloon-up request!\n"); in balloon_onchannelcallback() 1518 pr_info("Ignore balloon in balloon_onchannelcallback() [all...] |
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | hv_balloon.c | 121 __u64 balloon:1; member 276 * Message to ask the guest to allocate memory - balloon up message. 292 * to the host in response to the balloon message. 313 * Un-balloon message; this message is sent from the host 336 * Un-balloon response message; this message is sent from the guest 1178 * balloon. Compute this and add it to the pressure report. in post_status() 1181 * asking us to balloon them out. in post_status() 1308 /* Refuse to balloon below the floor. */ in balloon_up() 1548 pr_info("Ignore balloon-up request!\n"); in balloon_onchannelcallback() 1562 pr_info("Ignore balloon in balloon_onchannelcallback() [all...] |
/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | p2m.c | 81 #include <xen/balloon.h>
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 43 #include <xen/balloon.h>
|