函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:11:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys * | ss | |
struct cftype * | cfts |
4030 | 如果非cfts或By convention, the name should begin with the name of the* subsystem, followed by a period. Zero length string indicates* end of cftype array.[0]恒等于'\0'则返回:0 |
4033 | ret等于cgroup_init_cftypes(ss, cfts) |
4039 | 添加链表项 |
4040 | ret等于cgroup_apply_cftypes(cfts, true) |
4041 | 如果ret则cgroup_rm_cftypes_locked(cfts) |
4045 | 返回:ret |
名称 | 描述 |
---|---|
cgroup_add_dfl_cftypes | group_add_dfl_cftypes - add an array of cftypes for default hierarchy*@ss: target cgroup subsystem*@cfts: zero-length name terminated array of cftypes* Similar to cgroup_add_cftypes() but the added files are only used for* the default hierarchy. |
cgroup_add_legacy_cftypes | group_add_legacy_cftypes - add an array of cftypes for legacy hierarchies*@ss: target cgroup subsystem*@cfts: zero-length name terminated array of cftypes* Similar to cgroup_add_cftypes() but the added files are only used for* the legacy hierarchies. |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |