函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\backing-dev.c Create Date:2022-07-27 15:48:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:clear_wb_congested

函数原型:void clear_wb_congested(struct bdi_writeback_congested *congested, int sync)

返回类型:void

参数:

类型参数名称
struct bdi_writeback_congested *congested
intsync
1054  wqh等于congestion_wqh[sync]
1057  bit等于如果sync The sync queue is getting full 否则 The async (write) queue is getting full
1058  如果st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).atomic_dec( & nr_wb_congested[sync])
1060  smp_mb__after_atomic()
1061  如果waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_wake_up(wqh)
调用者
名称描述
clear_bdi_congested