Function report |
Source Code:mm\balloon_compaction.c |
Create Date:2022-07-28 16:32:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloon_page_list_dequeue() - removes pages from balloon's page list and* returns a list of the pages.*@b_dev_info: balloon device decriptor where we will grab a page from.*@pages: pointer to the list of pages that would be returned to the caller.
Proto:size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info, struct list_head *pages, size_t n_req_pages)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct balloon_dev_info * | b_dev_info | |
| struct list_head * | pages | |
| size_t | n_req_pages |
| 81 | n_pages = 0 |
| 85 | If n_pages == n_req_pages Then Break |
| 93 | If Not Return true if the page was successfully locked Then Continue |
| 102 | balloon_page_delete(page) |
| 106 | n_pages++ |
| 110 | Return n_pages |
| Name | Describe |
|---|---|
| balloon_page_dequeue | alloon_page_dequeue - removes a page from balloon's page list and returns* its address to allow the driver to release the page |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |