| Function report | 
| Source Code: kernel\cgroup\cgroup.c | Create Date:2022-07-28 11:09:52 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cgroup_add_file
Proto:static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, struct cftype *cft)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cgroup * | cgrp | |
| struct cftype * | cft | 
| 3818 | struct lock_class_key * key = NULL | 
| 3822 | key = lockdep_key | 
| 3833 | If ret Then | 
| 3834 | kernfs_remove(kn) | 
| 3835 | Return ret | 
| 3848 | Return 0 | 
| Name | Describe | 
|---|---|
| cgroup_addrm_files | 
| 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 |