函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:02:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:can_merge
函数原型:static bool can_merge(struct size_class *prev, int pages_per_zspage, int objs_per_zspage)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct size_class * | prev | |
int | pages_per_zspage | |
int | objs_per_zspage |
1258 | 如果 Number of PAGE_SIZE sized pages to combine to form a 'zspage' 恒等于pages_per_zspage且objs_per_zspage恒等于objs_per_zspage则返回:true |
1262 | 返回:false |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |