函数逻辑报告 |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-27 19:16:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lkcg_maybe_throttle_current - throttle the current task if it has been marked* This is only called if we've been marked with set_notify_resume()
函数原型:void blkcg_maybe_throttle_current(void)
返回类型:void
参数:无
| 1623 | q等于throttle_queue |
| 1627 | use_memdelay等于use_memdelay |
| 1629 | 如果非q则返回 |
| 1632 | throttle_queue = NULL |
| 1633 | use_memdelay = false |
| 1636 | css等于kthread_blkcg - get associated blkcg css of current kthread* Current thread must be a kthread. |
| 1637 | 如果css则blkcg等于css_to_blkcg(css) |
| 1639 | 否则blkcg等于css_to_blkcg(循环获得css) |
| 1653 | blk_put_queue(q) |
| 1654 | 返回 |
| 1655 | out : |
| 1657 | blk_put_queue(q) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |