函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:13:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init.
函数原型:int __init cgroup_init(void)
返回类型:int
参数:无
| 5649 | BUG_ON(cgroup_init_cftypes(NULL, cgroup-v1.c)) |
| 5651 | cgroup_rstat_boot() |
| 5659 | get_user_ns(user_ns) |
| 5675 | 如果early_init则 |
| 5682 | 否则 |
| 5683 | cgroup_init_subsys(ss, false) |
| 5686 | 添加链表项 |
| 5694 | 如果cgroup_disable_mask按位与1左移ssid位则 |
| 5698 | 继续下一循环 |
| 5705 | The bitmask of subsystems attached to this hierarchy 或等于1左移 the following two fields are initialized automtically during boot 位 |
| 5712 | 否则如果非 for the default hierarchy 则some controllers are not supported in the default hierarchy 或等于1左移 the following two fields are initialized automtically during boot 位 |
| 5718 | 如果 for the default hierarchy 恒等于 for the legacy hierarchies 则 |
| 5720 | 否则 |
| 5725 | 如果bind则bind(Set of subsystem states, one for each subsystem. This array is* immutable after creation apart from the init_css_set during* subsystem registration (at boot time).[ssid]) |
| 5734 | 从哈希表移除对象 |
| 5738 | WARN_ON(sysfs_create_mount_point(/sys/fs , "cgroup")) |
| 5739 | WARN_ON(register_filesystem( & cgroup_fs_type)) |
| 5740 | WARN_ON(register_filesystem( & cgroup2_fs_type)) |
| 5741 | WARN_ON(!proc_create_single("cgroups", 0, NULL, proc_cgroupstats_show)) |
| 5746 | 返回:0 |
| 名称 | 描述 |
|---|---|
| start_kernel | 启动内核 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |