函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called on completion of a request. Note that it's also called when* a request is merged, when the request gets freed.

函数原型:static void wbt_done(struct rq_qos *rqos, struct request *rq)

返回类型:void

参数:

类型参数名称
struct rq_qos *rqos
struct request *rq
187  rwb等于RQWB(rqos)
189  如果非wbt_is_tracked(rq)则
190  如果sync_cookie恒等于rq
191  sync_issue等于0
192  sync_cookie = NULL
195  如果wbt_is_read(rq)则wb_timestamp(rwb, & last non-throttled comp )
197  否则
198  WARN_ON_ONCE(rq == sync_cookie)
199  __wbt_done(rqos, wbt_flags(rq))
201  wbt_stat - trace stats for blk_wb*@stat: array of read/write stats