函数逻辑报告 | 
Source Code:kernel\cgroup\rstat.c | 
Create Date:2022-07-27 12:13:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:group_rstat_cpu_pop_updated - iterate and dismantle rstat_cpu updated tree*@pos: current position*@root: root of the tree to traversal*@cpu: target cpu* Walks the udpated rstat_cpu tree on @cpu from @root. %NULL @pos starts
函数原型:static struct cgroup *cgroup_rstat_cpu_pop_updated(struct cgroup *pos, struct cgroup *root, int cpu)
返回类型:struct cgroup
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct cgroup * | pos | |
| struct cgroup * | root | |
| int | cpu | 
| 101 | 否则pos等于cgroup_parent(pos) | 
| 105 | 当(true)循环 | 
| 106 | rstatc等于cgroup_rstat_cpu(pos, cpu) | 
| 107 | 如果rminated by self cgroup 恒等于pos则退出 | 
| 118 | 如果NULL iff not on the list 则 | 
| 119 | parent等于cgroup_parent(pos) | 
| 120 | prstatc等于cgroup_rstat_cpu(parent, cpu) | 
| 125 | 当(true)循环 | 
| 126 | nrstatc等于cgroup_rstat_cpu( * nextp, cpu) | 
| 130 | WARN_ON_ONCE( * nextp == parent) | 
| 135 | NULL iff not on the list = NULL | 
| 142 | smp_mb() | 
| 144 | 返回:pos | 
| 148 | 返回:NULL | 
| 名称 | 描述 | 
|---|---|
| cgroup_rstat_flush_locked | see cgroup_rstat_flush() | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |