函数逻辑报告 | 
Source Code:fs\mbcache.c | 
Create Date:2022-07-29 11:04:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mb_cache_entry_delete - remove a cache entry*@cache - cache we work with*@key - key*@value - value* Remove entry from cache @cache with key @key and value @value.
函数原型:void mb_cache_entry_delete(struct mb_cache *cache, unsigned int key, u64 value)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mb_cache * | cache | |
| unsigned int | key | |
| u64 | value | 
| 233 | head等于mb_cache_entry_head(cache, key) | 
| 234 | hlist_bl_lock(head) | 
| 239 | hlist_bl_unlock(head) | 
| 240 | 加自旋锁 | 
| 241 | 如果非链表为空则 | 
| 242 | 删除链表项并重新初始化 | 
| 243 | 如果非WARN_ONCE(Number of entries in cache == 0, "mbcache: attempt to decrement c_entry_count past zero")则Number of entries in cache 自减 | 
| 246 | atomic_dec( & e_refcnt) | 
| 248 | 自旋锁解锁 | 
| 249 | mb_cache_entry_put(cache, entry) | 
| 250 | 返回 | 
| 253 | hlist_bl_unlock(head) | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |