函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:01:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Each size class maintains zspages in different fullness groups depending* on the number of live objects they contain. When allocating or freeing* objects, the fullness status of the page can change, say, from ALMOST_FULL
函数原型:static enum fullness_group fix_fullness_group(struct size_class *class, struct zspage *zspage)
返回类型:enum fullness_group
参数:
类型 | 参数 | 名称 |
---|---|---|
struct size_class * | class | |
struct zspage * | zspage |
772 | get_zspage_mapping(zspage, & class_idx, & currfg) |
777 | 如果非is_zspage_isolated(zspage)则 |
782 | set_zspage_mapping(zspage, class_idx, newfg) |
784 | out : |
785 | 返回:newfg |
名称 | 描述 |
---|---|
zs_malloc | zs_malloc - Allocate block of given size from pool.*@pool: pool to allocate from*@size: size of block to allocate*@gfp: gfp flags when allocating object* On success, handle to the allocated object is returned,* otherwise 0. |
zs_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |