函数逻辑报告 |
Source Code:block\blk-throttle.c |
Create Date:2022-07-27 19:18:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:throtl_pending_timer_fn
函数原型:static void throtl_pending_timer_fn(struct timer_list *t)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct timer_list * | t |
1255 | sq等于from_timer(sq, t, pending_timer) |
1263 | spin_lock_irq( & queue_lock) |
1264 | 如果throtl_can_upgrade(td, NULL)则throtl_upgrade_state(td) |
1267 | again : |
1269 | dispatched = false |
1271 | 当(true)循环 |
1276 | ret等于throtl_select_dispatch(sq) |
1277 | 如果ret则 |
1279 | dispatched = true |
1286 | spin_unlock_irq( & queue_lock) |
1287 | cpu_relax() |
1288 | spin_lock_irq( & queue_lock) |
1291 | 如果非dispatched则转到:out_unlock |
1294 | 如果parent_sq则 |
1296 | 如果flags按位与 bio_lists[] became non-empty 则 |
1297 | tg_update_disptime(tg) |
1305 | 否则 |
1309 | out_unlock : |
1310 | spin_unlock_irq( & queue_lock) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |