Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:27:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:can_merge
Proto:static bool can_merge(struct size_class *prev, int pages_per_zspage, int objs_per_zspage)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct size_class * | prev | |
| int | pages_per_zspage | |
| int | objs_per_zspage |
| 1258 | If Number of PAGE_SIZE sized pages to combine to form a 'zspage' == pages_per_zspage && objs_per_zspage == objs_per_zspage Then Return true |
| 1262 | Return false |
| Name | Describe |
|---|---|
| zs_create_pool | zs_create_pool - Creates an allocation pool to work from.*@name: pool name to be created* This function must be called before anything when using* the zsmalloc allocator.* On success, a pointer to the newly created pool is returned,* otherwise 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 |