Function report | 
Source Code:kernel\cgroup\cgroup.c | 
Create Date:2022-07-28 11:10:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cgroup_init_cftypes
Proto:static int cgroup_init_cftypes(struct cgroup_subsys *ss, struct cftype *cfts)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_subsys * | ss | |
| struct cftype * | cfts | 
| 3948 | WARN_ON(NULL for cgroup core files || kf_ops) | 
| 3950 | If seq_start Then kf_ops = cgroup_kf_ops | 
| 3952 | Else kf_ops = cgroup_kf_single_ops | 
| 3960 | kf_ops = kmemdup(kf_ops, size of kf_ops , GFP_KERNEL) | 
| 3961 | If Not kf_ops Then | 
| 3962 | cgroup_exit_cftypes(cfts) | 
| 3963 | Return -ENOMEM | 
| 3969 | NULL for cgroup core files = ss | 
| 3972 | Return 0 | 
| Name | Describe | 
|---|---|
| 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. | 
| 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  |