| Function report | 
| Source Code: security\device_cgroup.c | Create Date:2022-07-28 19:55:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alled from kernel/cgroup.c with cgroup_lock() held.
Proto:static struct cgroup_subsys_state *devcgroup_css_alloc(struct cgroup_subsys_state *parent_css)
Type:struct cgroup_subsys_state
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_subsys_state * | parent_css | 
| 212 | dev_cgroup = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 213 | If Not dev_cgroup Then Return ERR_PTR( - ENOMEM) | 
| 216 | behavior = DEVCG_DEFAULT_NONE | 
| 218 | Return css | 
| 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 |