Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group_apply_control_disable - kill or hide csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and kill and hide csses so that they match* cgroup_ss_mask() and cgroup_visible_mask()

Proto:static void cgroup_apply_control_disable(struct cgroup *cgrp)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
3100  walk live descendants in postorder (dsct, d_css, cgrp)
3102  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
3104  If Not css Then Continue
3107  WARN_ON_ONCE(percpu_ref_is_dying - test whether a percpu refcount is dying or dead*@ref: percpu_ref to test* Returns %true if @ref is dying or dead.* This function is safe to call as long as @ref is between init and exit)
3111  kill_css(css)
3112  Else if Not css_visible(css) Then
3114  If css_reset Then css_reset(css)
Caller
NameDescribe
cgroup_finalize_control