Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group_e_css - obtain a cgroup's effective css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest* Find and get the effective css of @cgrp for @ss

Proto:struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, struct cgroup_subsys *ss)

Type:struct cgroup_subsys_state

Parameter:

TypeParameterName
struct cgroup *cgrp
struct cgroup_subsys *ss
547  Do
548  css = group_css - obtain a cgroup's css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest (%NULL returns @cgrp->self)* Return @cgrp's css (cgroup_subsys_state) associated with @ss
550  If css Then Return css
552  cgrp = cgroup_parent(cgrp)
553  When cgrp cycle
555  Return Set of subsystem states, one for each subsystem. This array is* immutable after creation apart from the init_css_set during* subsystem registration (at boot time).[ the following two fields are initialized automtically during boot ]