函数逻辑报告 |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-27 12:15:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_cgroupfs_options
函数原型:static int check_cgroupfs_options(struct fs_context *fc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc |
989 | ctx等于cgroup_fc2context(fc) |
991 | enabled等于0 |
998 | r_each_subsys - iterate all enabled cgroup subsystems*@ss: the iteration cursor*@ssid: the index of @ss, CGROUP_SUBSYS_COUNT after reaching the end(ss, i) |
1002 | Selected subsystems 与等于enabled |
1008 | 如果非Selected subsystems 且非User explicitly requested empty subsystem 且非Hierarchy name 则Seen 'all' option = true |
1011 | 如果Seen 'all' option 则 |
1013 | 如果Selected subsystems 则返回:cg_invalf(fc, "cgroup1: subsys name conflicts with all") |
1016 | Selected subsystems 等于enabled |
1023 | 如果非Selected subsystems 且非Hierarchy name 则返回:cg_invalf(fc, "cgroup1: Need name or subsystem set") |
1031 | 如果CGRP_ROOT_* flags 按位与CGRP_ROOT_NOPREFIX且Selected subsystems 按位与mask则返回:cg_invalf(fc, "cgroup1: noprefix used incorrectly") |
1035 | 如果Selected subsystems 且User explicitly requested empty subsystem 则返回:cg_invalf(fc, "cgroup1: none used incorrectly") |
1038 | 返回:0 |
名称 | 描述 |
---|---|
cgroup1_reconfigure | |
cgroup1_root_to_use | The guts of cgroup1 mount - find or create cgroup_root to use |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |