函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rstat.c Create Date:2022-07-27 12:13:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup_rstat_cpu

函数原型:static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu)

返回类型:struct cgroup_rstat_cpu

参数:

类型参数名称
struct cgroup *cgrp
intcpu
13  返回:per_cpu_ptr( per-cpu recursive resource statistics , cpu)
调用者
名称描述
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