函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_extra_stat_show

函数原型:static int __maybe_unused cgroup_extra_stat_show(struct seq_file *seq, struct cgroup *cgrp, int ssid)

返回类型:int

参数:

类型参数名称
struct seq_file *seq
struct cgroup *cgrp
intssid
3518  ss等于cgroup_subsys[ssid]
3522  如果非css_extra_stat_show则返回:0
3525  css等于group_tryget_css - try to get a cgroup's css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest* Find and get @cgrp's css assocaited with @ss. If the css doesn't exist* or is offline, %NULL is returned.
3526  如果非css则返回:0
3529  ret等于css_extra_stat_show(seq, css)
3530  设置一个css引用
3531  返回:ret