Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rebind_subsystems

Proto:int rebind_subsystems(struct cgroup_root *dst_root, u16 ss_mask)

Type:int

Parameter:

TypeParameterName
struct cgroup_root *dst_root
u16ss_mask
1718  dcgrp = The root cgroup. Root is destroyed on its release.
1722  lockdep_assert_held( & cgroup_mutex is the master lock)
1724  Do
1724  __ss_mask = ss_mask
1724  If Not CGROUP_SUBSYS_COUNT Then
1724  ssid = 0
1724  Break
1724  ss = cgroup_subsys[ssid]
1737  When (false) cycle
1739  Do
1739  __ss_mask = ss_mask
1739  If Not CGROUP_SUBSYS_COUNT Then
1739  ssid = 0
1739  Break
1739  ss = cgroup_subsys[ssid]
1768  Else
1774  If ret Then pr_warn("partial failure to rebind %s controller (err=%d)\n", name, ret)
1778  If bind Then bind(css)
1780  When (false) cycle
1782  kernfs_activate( cgroup kernfs entry )
1783  Return 0
Caller
NameDescribe
cgroup_destroy_root
cgroup_setup_root
cgroup1_reconfigure