函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:47:36
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_poll_nsecs

函数原型:static unsigned long blk_mq_poll_nsecs(struct request_queue *q, struct blk_mq_hw_ctx *hctx, struct request *rq)

返回类型:unsigned long

参数:

类型参数名称
struct request_queue *q
struct blk_mq_hw_ctx *hctx
struct request *rq
3346  ret等于0
3353  如果非Enable polling stats and return whether they were already enabled. 则返回:0
3365  bucket等于blk_mq_poll_stats_bkt(rq)
3366  如果bucket小于0则返回:ret
3369  如果nr_samplesret等于mean加1的和除2
3372  返回:ret
调用者
名称描述
blk_mq_poll_hybrid_sleep