函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lkcg_add_delay - add delay to this blkg*@blkg: blkg of interest*@now: the current time in nanoseconds*@delta: how many nanoseconds of delay to add* Charge @delta to the blkg's current delay accumulation. This is used to

函数原型:void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta)

返回类型:void

参数:

类型参数名称
struct blkcg_gq *blkg
u64now
u64delta
1704  Scale the accumulated delay based on how long it has been since we updated* the delay. We only call this when we are adding delay, in case it's been a* while since we added delay, and when we are checking to see if we need to
1705  atomic64_add(delta, & delay_nsec)
调用者
名称描述
iolatency_record_time
iocg_kick_delay