Lines Matching defs:cache
50 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
126 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry) in __mb_cache_entry_free()
151 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
190 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
207 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
220 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
252 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache, in mb_cache_entry_delete_or_get()
284 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
294 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count() local
301 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
334 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan() local
344 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker() local
357 struct mb_cache *cache; in mb_cache_create() local
403 void mb_cache_destroy(struct mb_cache *cache) in mb_cache_destroy()