| Function report | 
| Source Code: kernel\cgroup\pids.c | Create Date:2022-07-28 11:14:29 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pids_css_alloc
Proto:static struct cgroup_subsys_state *pids_css_alloc(struct cgroup_subsys_state *parent)
Type:struct cgroup_subsys_state
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_subsys_state * | parent | 
| 72 | pids = 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). | 
| 76 | atomic64_set( & * Use 64-bit types so that we can safely represent "max" as * %PIDS_MAX = (%PID_MAX_LIMIT + 1)., 0) | 
| 77 | atomic64_set( & limit, PIDS_MAX) | 
| 79 | 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 |