Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:08: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_stats_bkt
Proto:static int blk_mq_poll_stats_bkt(const struct request *rq)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct request * | rq |
| 50 | ddir = rq_data_dir(rq) |
| 51 | sectors = blk_rq_stats_sectors(rq) |
| 55 | If bucket < 0 Then Return -1 |
| 57 | Else if bucket >= Must be consistent with blk_mq_poll_stats_bkt() Then Return ddir + Must be consistent with blk_mq_poll_stats_bkt() - 2 |
| 60 | Return bucket |
| Name | Describe |
|---|---|
| blk_mq_poll_nsecs |
| 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 |