Function report |
Source Code:fs\mbcache.c |
Create Date:2022-07-28 20:29:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mb_cache_entry_get - get a cache entry by value (and key)*@cache - cache we work with*@key - key*@value - value
Proto:struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, unsigned int key, u64 value)
Type:struct mb_cache_entry
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mb_cache * | cache | |
| unsigned int | key | |
| u64 | value |
| 205 | head = mb_cache_entry_head(cache, key) |
| 206 | hlist_bl_lock(head) |
| 209 | atomic_inc( & e_refcnt) |
| 210 | Go to out |
| 213 | entry = NULL |
| 214 | out : |
| 215 | hlist_bl_unlock(head) |
| 216 | Return entry |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |