函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:11:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cgroup_init_cftypes
函数原型:static int cgroup_init_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys * | ss | |
struct cftype * | cfts |
3948 | WARN_ON(NULL for cgroup core files || kf_ops) |
3950 | 如果seq_start则kf_ops等于cgroup_kf_ops |
3952 | 否则kf_ops等于cgroup_kf_single_ops |
3960 | kf_ops等于kmemdup(kf_ops, kf_ops的长度, GFP_KERNEL) |
3961 | 如果非kf_ops则 |
3962 | cgroup_exit_cftypes(cfts) |
3963 | 返回:负ENOMEM |
3969 | NULL for cgroup core files 等于ss |
3972 | 返回:0 |
名称 | 描述 |
---|---|
cgroup_add_cftypes | group_add_cftypes - add an array of cftypes to a subsystem*@ss: target cgroup subsystem*@cfts: zero-length name terminated array of cftypes* Register @cfts to @ss |
cgroup_init | group_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |