函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\backing-dev.h Create Date:2022-07-27 10:09:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dec_wb_stat

函数原型:static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item)

返回类型:void

参数:

类型参数名称
struct bdi_writeback *wb
enum wb_stat_itemitem
84  __add_wb_stat(wb, item, - 1)
调用者
名称描述
account_page_cleanedHelper function for deaccounting dirty page without writeback.* Caller must hold lock_page_memcg().
account_page_redirtyCall this whenever redirtying a page, to de-account the dirty counters* (NR_DIRTIED, WB_DIRTIED, tsk->nr_dirtied), so that they match the written* counters (NR_WRITTEN, WB_WRITTEN) in long term
clear_page_dirty_for_ioClear a page's dirty flag, while caring for dirty memory accounting.* Returns true if the page was previously dirty.* This is for preparing to put the page under writeout. We leave the page* tagged as dirty in the xarray so that a concurrent write-for-sync
test_clear_page_writeback