函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-29 10:41:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wb_check_start_all

函数原型:static long wb_check_start_all(struct bdi_writeback *wb)

返回类型:long

参数:

类型参数名称
struct bdi_writeback *wb
2006  如果非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:0
2009  nr_pages等于Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev.
2010  如果nr_pages
2011  struct wb_writeback_work work = {nr_pages = wb_split_bdi_pages(wb, nr_pages), sync_mode = Don't wait on anything , range_cyclic = 1, why was writeback initiated? = start_all_reason, }
2018  nr_pages等于Explicit flushing or periodic writeback of "old" data
2021  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
2022  返回:nr_pages
调用者
名称描述
wb_do_writebackRetrieve work items and do the writeback they describe