函数逻辑报告 | 
Source Code:mm\zsmalloc.c | 
Create Date:2022-07-27 18:03:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:zs_destroy_pool
函数原型:void zs_destroy_pool(struct zs_pool *pool)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct zs_pool * | pool | 
| 2521 | zs_unregister_shrinker(pool) | 
| 2522 | zs_unregister_migration(pool) | 
| 2523 | zs_pool_stat_destroy(pool) | 
| 2525 | 以i小于ZS_SIZE_CLASSES循环 | 
| 2527 | class等于size_class[i] | 
| 2529 | 如果非class则继续下一循环 | 
| 2535 | 以fg小于NR_ZS_FULLNESS循环 | 
| 2536 | 如果非链表为空则 | 
| 2537 | 打印信息("Freeing non-empty class with size %db, fullness group %d\n", * Size of objects stored in this class. Must be multiple * of ZS_ALIGN., fg) | 
| 2541 | 释放内存 | 
| 2544 | destroy_cache(pool) | 
| 2545 | 释放内存 | 
| 2546 | 释放内存 | 
| 名称 | 描述 | 
|---|---|
| zs_zpool_destroy | |
| 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 插件可实现:逻辑报告 代码生成和批量转换代码  |