函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-wbt.c Create Date:2022-07-27 19:42:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wb_timestamp

函数原型:static void wb_timestamp(struct rq_wb *rwb, unsigned long *var)

返回类型:void

参数:

类型参数名称
struct rq_wb *rwb
unsigned long *var
85  如果rwb_enabled(rwb)则
86  cur等于jiffies
88  如果cur不等于varvar等于cur
调用者
名称描述
wbt_doneCalled on completion of a request. Note that it's also called when* a request is merged, when the request gets freed.
wbt_waitReturns true if the IO request should be accounted, false if not.* May sleep, if we have exceeded the writeback limits. Caller can pass* in an irq held spinlock, if it holds one when calling this function.* If we do sleep, we'll release and re-grab it.