| Function report | 
| Source Code: mm\z3fold.c | Create Date:2022-07-28 16:29:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Returns the number of free chunks in a z3fold page.* NB: can't be used with HEADLESS pages.
Proto:static int num_free_chunks(struct z3fold_header *zhdr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct z3fold_header * | zhdr | 
| 625 | If middle_chunks != 0 Then | 
| 626 | nfree_before = If first_chunks Then 0 Else start_middle - ZHDR_CHUNKS | 
| 628 | nfree_after = If last_chunks Then 0 Else TOTAL_CHUNKS - start_middle + middle_chunks | 
| 632 | Else nfree = NCHUNKS - first_chunks - last_chunks | 
| 634 | Return nfree | 
| Name | Describe | 
|---|---|
| add_to_unbuddied | Add to the appropriate unbuddied list | 
| 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 |