Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rstat.c Create Date:2022-07-28 11:11:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cgroup_rstat_cpu

Proto:static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu)

Type:struct cgroup_rstat_cpu

Parameter:

TypeParameterName
struct cgroup *cgrp
intcpu
13  Return per_cpu_ptr( per-cpu recursive resource statistics , cpu)
Caller
NameDescribe
cgroup_rstat_updatedgroup_rstat_updated - keep track of updated rstat_cpu*@cgrp: target cgroup*@cpu: cpu on which rstat_cpu was updated*@cgrp's rstat_cpu on @cpu was updated. Put it on the parent's matching* rstat_cpu->updated_children list. See the comment on top of
cgroup_rstat_cpu_pop_updatedgroup_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
cgroup_rstat_init
cgroup_rstat_exit
cgroup_base_stat_flush