Function report |
Source Code:kernel\cgroup\rstat.c |
Create Date:2022-07-28 11:11:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static struct cgroup *cgroup_rstat_cpu_pop_updated(struct cgroup *pos, struct cgroup *root, int cpu)
Type:struct cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | pos | |
struct cgroup * | root | |
int | cpu |
101 | Else pos = cgroup_parent(pos) |
105 | When (true) cycle |
106 | rstatc = cgroup_rstat_cpu(pos, cpu) |
107 | If rminated by self cgroup == pos Then Break |
109 | pos = rminated by self cgroup |
118 | If NULL iff not on the list Then |
119 | parent = cgroup_parent(pos) |
120 | prstatc = cgroup_rstat_cpu(parent, cpu) |
124 | nextp = rminated by self cgroup |
125 | When (true) cycle |
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 | Return pos |
148 | Return NULL |
Name | Describe |
---|---|
cgroup_rstat_flush_locked | see cgroup_rstat_flush() |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |