函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wb_max_pause

函数原型:static unsigned long wb_max_pause(struct bdi_writeback *wb, unsigned long wb_dirty)

返回类型:unsigned long

参数:

类型参数名称
struct bdi_writeback *wb
unsigned longwb_dirty
1422  bw等于urther smoothed write bw, > 0
1432  t等于wb_dirty除1加bwundup_pow_of_two - round the given value up to nearest power of two*@n: parameter* round the given value up to the nearest power of two* - the result is undefined when n == 0* - this can be used to initialise global variables from constant data(1 + HZ / 8)的和
1433  t自加
1435  返回:min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, t, Sleep at most 200ms at a time in balance_dirty_pages().)
调用者
名称描述
balance_dirty_pagesalance_dirty_pages() must be called by processes which are generating dirty* data