函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wb_calc_thresh

函数原型:unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh)

返回类型:unsigned long

参数:

类型参数名称
struct bdi_writeback *wb
unsigned longthresh
793  struct dirty_throttle_control gdtc = {GDTC_INIT(wb), dirty threshold = thresh}
795  返回:__wb_calc_thresh - @wb's share of dirty throttling threshold*@dtc: dirty_throttle_context of interest* Note that balance_dirty_pages() will only seriously take it as a hard limit* when sleeping max_pause per page is not enough to keep the dirty pages under
调用者
名称描述
wb_over_bg_threshwb_over_bg_thresh - does @wb need to be written back?*@wb: bdi_writeback of interest* Determines whether background writeback should keep writing @wb or it's* clean enough.* Return: %true if writeback should continue.