| 函数逻辑报告 | 
| Source Code: kernel\cgroup\cgroup-v1.c | Create Date:2022-07-27 12:15:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:cgroup1_reconfigure
函数原型:int cgroup1_reconfigure(struct fs_context *fc)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fs_context * | fc | 
| 1043 | ctx等于cgroup_fc2context(fc) | 
| 1044 | kf_root等于kernfs_root_from_sb(d_sb) | 
| 1045 | root等于cgroup_root_from_kf(kf_root) | 
| 1046 | ret等于0 | 
| 1052 | ret等于check_cgroupfs_options(fc) | 
| 1053 | 如果ret则转到:out_unlock | 
| 1056 | 如果Selected subsystems 不等于 The bitmask of subsystems attached to this hierarchy 或Path for release notifications 则打印警告信息("option changes via remount are deprecated (pid=%d comm=%s)\n", task_tgid_nr(当前进程), comm) | 
| 1064 | 如果CGRP_ROOT_* flags 按位异或 Hierarchy-specific flags 或Hierarchy name 且字符串比较则 | 
| 1066 | cg_invalf(fc, "option or name mismatch, new: 0x%x \"%s\", old: 0x%x \"%s\"", CGRP_ROOT_* flags , Hierarchy name ? : "", Hierarchy-specific flags , The name for this hierarchy - may be empty ) | 
| 1069 | 转到:out_unlock | 
| 1073 | 如果非链表为空则 | 
| 1075 | 转到:out_unlock | 
| 1078 | ret等于rebind_subsystems(root, added_mask) | 
| 1079 | 如果ret则转到:out_unlock | 
| 1084 | 如果Path for release notifications 则 | 
| 1090 | trace_cgroup_remount(root) | 
| 1092 | out_unlock : | 
| 1094 | 返回:ret | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |