| Function report | 
| Source Code: kernel\padata.c | Create Date:2022-07-28 13:48:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:padata_alloc_shell - Allocate and initialize padata shell.*@pinst: Parent padata_instance object.
Proto:struct padata_shell *padata_alloc_shell(struct padata_instance *pinst)
Type:struct padata_shell
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct padata_instance * | pinst | 
| 1086 | ps = 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). | 
| 1092 | get_online_cpus() | 
| 1094 | put_online_cpus() | 
| 1096 | If Not pd Then Go to out_free_ps | 
| 1099 | mutex_lock( & lock) | 
| 1104 | Return ps | 
| 1106 | out_free_ps : | 
| 1108 | out : | 
| 1109 | Return NULL | 
| 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 |