Function report | 
Source Code:mm\z3fold.c | 
Create Date:2022-07-28 16:29:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Initializes the z3fold header of a newly allocated z3fold page
Proto:static struct z3fold_header *init_z3fold_page(struct page *page, bool headless, struct z3fold_pool *pool, gfp_t gfp)
Type:struct z3fold_header
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| bool | headless | |
| struct z3fold_pool * | pool | |
| gfp_t | gfp | 
| 401 | zhdr = page_address(page) | 
| 413 | slots = alloc_slots(pool, gfp) | 
| 414 | If Not slots Then Return NULL | 
| 419 | first_chunks = 0 | 
| 420 | middle_chunks = 0 | 
| 421 | last_chunks = 0 | 
| 422 | first_num = 0 | 
| 423 | start_middle = 0 | 
| 424 | cpu = -1 | 
| 425 | foreign_handles = 0 | 
| 429 | INIT_WORK( & work, compact_page_work) | 
| 430 | Return zhdr | 
| Name | Describe | 
|---|---|
| z3fold_alloc | z3fold_alloc() - allocates a region of a given size*@pool: z3fold 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 | 
| 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  |