Lines Matching refs:mb_cache

27 struct mb_cache {  struct
46 static unsigned long mb_cache_shrink(struct mb_cache *cache, argument
49 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache, in mb_cache_entry_head()
73 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key, in mb_cache_entry_create()
127 static struct mb_cache_entry *__entry_find(struct mb_cache *cache, in __entry_find()
167 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache, in mb_cache_entry_find_first()
184 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache, in mb_cache_entry_find_next()
197 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key, in mb_cache_entry_get()
226 void mb_cache_entry_delete(struct mb_cache *cache, u32 key, u64 value) in mb_cache_entry_delete()
262 void mb_cache_entry_touch(struct mb_cache *cache, in mb_cache_entry_touch()
272 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_count()
279 static unsigned long mb_cache_shrink(struct mb_cache *cache, in mb_cache_shrink()
322 struct mb_cache *cache = container_of(shrink, struct mb_cache, in mb_cache_scan()
332 struct mb_cache *cache = container_of(work, struct mb_cache, in mb_cache_shrink_worker()
343 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create()
345 struct mb_cache *cache; in mb_cache_create()
349 cache = kzalloc(sizeof(struct mb_cache), GFP_KERNEL); in mb_cache_create()
391 void mb_cache_destroy(struct mb_cache *cache) in mb_cache_destroy()