函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback.

函数原型:static inline bool blk_stat_is_active(struct blk_stat_callback *cb)

返回类型:bool

参数:

类型参数名称
struct blk_stat_callback *cb
131  返回:mer_pending - is a timer pending?*@timer: the timer in question* timer_pending will tell whether a given timer is currently pending,* or not. Callers must ensure serialization wrt. other operations done* to this timer, eg
调用者
名称描述
blk_mq_poll_stats_start
blk_stat_add
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.