Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:10:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys * | ss | |
| struct cftype * | cfts |
| 4030 | If Not 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' Then Return 0 |
| 4033 | ret = cgroup_init_cftypes(ss, cfts) |
| 4040 | ret = cgroup_apply_cftypes(cfts, true) |
| 4041 | If ret Then cgroup_rm_cftypes_locked(cfts) |
| 4045 | Return ret |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |