Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:12:15
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_poll_nsecs

Proto:static unsigned long blk_mq_poll_nsecs(struct request_queue *q, struct blk_mq_hw_ctx *hctx, struct request *rq)

Type:unsigned long

Parameter:

TypeParameterName
struct request_queue *q
struct blk_mq_hw_ctx *hctx
struct request *rq
3346  ret = 0
3353  If Not Enable polling stats and return whether they were already enabled. Then Return 0
3365  bucket = blk_mq_poll_stats_bkt(rq)
3366  If bucket < 0 Then Return ret
3369  If nr_samples Then ret = (mean + 1) / 2
3372  Return ret
Caller
NameDescribe
blk_mq_poll_hybrid_sleep