函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:10:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup_get_tree

函数原型:static int cgroup_get_tree(struct fs_context *fc)

返回类型:int

参数:

类型参数名称
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  如果非retapply_cgroup_root_flags(CGRP_ROOT_* flags )
2095  返回:ret