| Function report | 
| Source Code: mm\zbud.c | Create Date:2022-07-28 16:25:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:zbud_create_pool() - create a new zbud pool*@gfp: gfp flags when allocating the zbud pool structure*@ops: user-defined operations for the zbud pool* Return: pointer to the new zbud pool or NULL if the metadata allocation* failed.
Proto:struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops)
Type:struct zbud_pool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gfp_t | gfp | |
| const struct zbud_ops * | ops | 
| 311 | pool = 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). | 
| 312 | If Not pool Then Return NULL | 
| 314 | Process spin lock initialization( & lock) | 
| 315 | for_each_unbuddied_list(i, 0) | 
| 319 | pages_nr = 0 | 
| 321 | Return pool | 
| Name | Describe | 
|---|---|
| zbud_zpool_create | 
| 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 |