Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-stat.h Create Date:2022-07-28 12:15:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback.

Proto:static inline bool blk_stat_is_active(struct blk_stat_callback *cb)

Type:bool

Parameter:

TypeParameterName
struct blk_stat_callback *cb
131  Return 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
Caller
NameDescribe
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.