Function report |
Source Code:block\blk-stat.c |
Create Date:2022-07-28 17:13:25 |
| 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_alloc_callback
Proto:struct blk_stat_callback *blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), int (*bucket_fn)(const struct request *), unsigned int buckets, void *data)
Type:struct blk_stat_callback
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void (* | timer_fn | |
| int (* | bucket_fn | |
| unsigned int | buckets | |
| void * | data |
| 109 | cb = Allocation memory |
| 110 | If Not cb Then Return NULL |
| 113 | @stat: Array of statistics buckets. = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 115 | If Not @stat: Array of statistics buckets. Then |
| 121 | If Not @cpu_stat: Per-cpu statistics buckets. Then |
| 133 | Return cb |
| Name | Describe |
|---|---|
| wbt_init |
| 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 |