Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_get_tree

Proto:static int cgroup_get_tree(struct fs_context *fc)

Type:int

Parameter:

TypeParameterName
struct fs_context *fc
2085  ctx = cgroup_fc2context(fc)
2088  The default hierarchy always exists but is hidden until mounted for the* first time. This is for backward compatibility. = true
2089  cgroup_get_live( & The root cgroup. Root is destroyed on its release. )
2090  root = The default hierarchy, reserved for the subsystems that are otherwise* unattached - it never has more than a single cgroup, and all tasks are* part of that cgroup.
2092  ret = cgroup_do_get_tree(fc)
2093  If Not ret Then apply_cgroup_root_flags(CGRP_ROOT_* flags )
2095  Return ret