函数逻辑报告 | 
Source Code:kernel\kthread.c | 
Create Date:2022-07-27 10:31:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:kthread_blkcg - get associated blkcg css of current kthread* Current thread must be a kthread.
函数原型:struct cgroup_subsys_state *kthread_blkcg(void)
返回类型:struct cgroup_subsys_state
参数:无
| 1234 | 如果flags按位与I am a kernel thread 则 | 
| 1235 | kthread等于to_kthread(当前进程) | 
| 1239 | 返回:NULL | 
| 名称 | 描述 | 
|---|---|
| blkcg_css | lkcg_css - find the current css* Find the css associated with either the kthread or the current task.* This may return a dying css, so it is up to the caller to use tryget logic* to confirm it is alive and well. | 
| blk_cgroup_congested | |
| blkcg_maybe_throttle_current | 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() | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |