函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:32:54
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:de_dirty_ok - tells whether a node is within its dirty limits*@pgdat: the node to check* Return: %true when the dirty pages in @pgdat are within the node's* dirty limit, %false if the limit is exceeded.

函数原型:bool node_dirty_ok(struct pglist_data *pgdat)

返回类型:bool

参数:

类型参数名称
struct pglist_data *pgdat
504  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.
505  nr_pages等于0
507  nr_pages加等于node_page_state(pgdat, NR_FILE_DIRTY)
508  nr_pages加等于node_page_state(pgdat, NR_UNSTABLE_NFS)
509  nr_pages加等于node_page_state(pgdat, NR_WRITEBACK)
511  返回:nr_pages小于等于limit
调用者
名称描述
get_page_from_freelistget_page_from_freelist goes through the zonelist trying to allocate* a page.