| 函数逻辑报告 | 
| Source Code: fs\mbcache.c | Create Date:2022-07-29 11:04:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mb_cache_destroy - destroy cache*@cache: the cache to destroy* Free all entries in cache and cache itself. Caller must make sure nobody* (except shrinker) can reach @cache when calling this.
函数原型:void mb_cache_destroy(struct mb_cache *cache)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mb_cache * | cache | 
| 396 | Remove one | 
| 405 | atomic_dec( & e_refcnt) | 
| 406 | 否则WARN_ON(1) | 
| 408 | 删除链表项 | 
| 409 | WARN_ON(atomic_read( & e_refcnt) != 1) | 
| 410 | mb_cache_entry_put(cache, entry) | 
| 412 | 释放内存 | 
| 413 | 释放内存 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |