函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:13:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_init_early - cgroup initialization at system boot* Initialize cgroups at system boot, and initialize any* subsystems that request early init.
函数原型:int __init cgroup_init_early(void)
返回类型:int
参数:无
5605 | static struct cgroup_fs_context __initdata ctx |
5609 | 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. |
5610 | init_cgroup_root( & ctx) |
5611 | flags或等于CSS_NO_REF |
5616 | WARN(!css_alloc || !css_free || name || the following two fields are initialized automtically during boot , "invalid cgroup_subsys %d:%s css_alloc=%p css_free=%p id:name=%d:%s\n", i, cgroup_subsys_name[i], css_alloc, css_free, the following two fields are initialized automtically during boot , name) |
5620 | WARN(strlen - Find the length of a string*@s: The string to be sized > MAX_CGROUP_TYPE_NAMELEN, "cgroup_subsys_name %s too long\n", cgroup_subsys_name[i]) |
5624 | name等于cgroup_subsys_name[i] |
5625 | 如果非 optional, initialized automatically during boot if not set 则 optional, initialized automatically during boot if not set 等于cgroup_subsys_name[i] |
5628 | 如果early_init则cgroup_init_subsys(ss, true) |
5631 | 返回:0 |
名称 | 描述 |
---|---|
start_kernel | 启动内核 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |