函数逻辑报告 |
Source Code:mm\balloon_compaction.c |
Create Date:2022-07-27 18:07:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info, struct list_head *pages, size_t n_req_pages)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct balloon_dev_info * | b_dev_info | |
struct list_head * | pages | |
size_t | n_req_pages |
81 | n_pages等于0 |
85 | 如果n_pages恒等于n_req_pages则退出 |
93 | 如果非Return true if the page was successfully locked则继续下一循环 |
102 | balloon_page_delete(page) |
104 | 添加链表项 |
106 | n_pages自加 |
110 | 返回:n_pages |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |