函数逻辑报告 |
Source Code:block\blk-iocost.c |
Create Date:2022-07-27 19:23:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:iocg_kick_waitq
函数原型:static void iocg_kick_waitq(struct ioc_gq *iocg, struct ioc_now *now)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ioc_gq * | iocg | |
| struct ioc_now * | now |
| 1145 | struct iocg_wake_ctx ctx = {iocg = iocg} |
| 1152 | lockdep_assert_held( & lock) |
| 1154 | current_hweight(iocg, NULL, & hw_inuse) |
| 1158 | abs_vdebt等于atomic64_read( & abs_vdebt) |
| 1159 | vdebt等于Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up. |
| 1161 | delta等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, vbudget, vdebt) |
| 1166 | atomic64_add(delta, & done_vtime) |
| 1167 | atomic64_sub(abs_delta, & abs_vdebt) |
| 1168 | 如果WARN_ON_ONCE(atomic64_read( & abs_vdebt) < 0)则atomic64_set( & abs_vdebt, 0) |
| 1181 | 如果WARN_ON_ONCE(vbudget >= 0)则返回 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |