函数逻辑报告 |
Source Code:block\blk-iocost.c |
Create Date:2022-07-27 19:23:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:iocg_wake_fn
函数原型:static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct wait_queue_entry * | wq_entry | |
| unsigned | mode | |
| int | flags | |
| void * | key |
| 1121 | cost等于Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up. |
| 1125 | 如果vbudget小于0则返回:负1 |
| 1128 | iocg_commit_bio(iocg, bio, cost) |
| 1135 | 删除链表项并重新初始化 |
| 1136 | committed = true |
| 1138 | default_wake_function(wq_entry, mode, flags, key) |
| 1139 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |