| Function report | 
| Source Code: block\blk-stat.c | Create Date:2022-07-28 17:13:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blk_stat_add_callback
Proto:void blk_stat_add_callback(struct request_queue *q, struct blk_stat_callback *cb)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | |
| struct blk_stat_callback * | cb | 
| 142 | for_each_possible_cpu(cpu) | 
| 146 | When bucket < @buckets: Number of statistics buckets. cycle blk_rq_stat_init( & cpu_stat[bucket]) | 
| 153 | spin_unlock( & lock) | 
| Name | Describe | 
|---|---|
| wbt_init | |
| blk_poll_stats_enable | Enable polling stats and return whether they were already enabled. | 
| 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 |