Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-28 14:24:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_wb_congested

Proto:void set_wb_congested(struct bdi_writeback_congested *congested, int sync)

Type:void

Parameter:

TypeParameterName
struct bdi_writeback_congested *congested
intsync
1070  bit = If sync Then The sync queue is getting full Else The async (write) queue is getting full
1071  If Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then atomic_inc( & nr_wb_congested[sync])
Caller
NameDescribe
set_bdi_congested