Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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) |
3369 | If nr_samples Then ret = (mean + 1) / 2 |
3372 | Return ret |
Name | Describe |
---|---|
blk_mq_poll_hybrid_sleep |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |