Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_extra_stat_show

Proto:static int __maybe_unused cgroup_extra_stat_show(struct seq_file *seq, struct cgroup *cgrp, int ssid)

Type:int

Parameter:

TypeParameterName
struct seq_file *seq
struct cgroup *cgrp
intssid
3518  ss = cgroup_subsys[ssid]
3522  If Not css_extra_stat_show Then Return 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  If Not css Then Return 0
3529  ret = css_extra_stat_show(seq, css)
3530  ss_put - put a css reference*@css: target css* Put a reference obtained via css_get() and css_tryget_online().
3531  Return ret