Function report |
Source Code:include\linux\mbcache.h |
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_put
Proto:static inline int mb_cache_entry_put(struct mb_cache *cache, struct mb_cache_entry *entry)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mb_cache * | cache | |
| struct mb_cache_entry * | entry |
| 36 | If Not atomic_dec_and_test( & e_refcnt) Then Return 0 |
| 39 | Return 1 |
| Name | Describe |
|---|---|
| __entry_find | |
| mb_cache_entry_delete | 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. |
| mb_cache_shrink | |
| mb_cache_destroy | 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. |
| 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 |