函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:32:44 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:de_dirtyable_memory - number of dirtyable pages in a node*@pgdat: the node* Return: the node's number of pages potentially available for dirty* page cache. This is the base value for the per-node dirty limits.
函数原型:static unsigned long node_dirtyable_memory(struct pglist_data *pgdat)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pglist_data * | pgdat |
279 | nr_pages等于0 |
282 | 以z小于MAX_NR_ZONES循环 |
283 | zone等于包含了结点中各内存域的数据结构加z |
285 | 如果非Returns true if a zone has memory 则继续下一循环 |
288 | nr_pages加等于zone_page_state(zone, NR_FREE_PAGES) |
296 | nr_pages减等于两数取小(nr_pages, * This is a per-node reserve of pages that are not available * to userspace allocations.) |
298 | nr_pages加等于node_page_state(pgdat, NR_INACTIVE_FILE) |
299 | nr_pages加等于node_page_state(pgdat, NR_ACTIVE_FILE) |
301 | 返回:nr_pages |
名称 | 描述 |
---|---|
node_dirty_limit | de_dirty_limit - maximum number of dirty pages allowed in a node*@pgdat: the node* Return: the maximum number of dirty pages allowed in a node, based* on the node's dirtyable memory. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |