| Function report | 
| Source Code: mm\zbud.c | Create Date:2022-07-28 16:25:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Converts an allocation size in bytes to size in zbud chunks
Proto:static int size_to_chunks(size_t size)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| size_t | size | 
| 232 | Return size + CHUNK_SIZE - 1 >> CHUNK_SHIFT | 
| Name | Describe | 
|---|---|
| zbud_alloc | zbud_alloc() - allocates a region of a given size*@pool: zbud pool from which to allocate*@size: size in bytes of the desired allocation*@gfp: gfp flags used if the pool needs to grow*@handle: handle of the new allocation* This function will attempt to | 
| 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 |