Lines Matching defs:mb_cache
28 struct mb_cache {
47 static unsigned long mb_cache_shrink(struct mb_cache *cache,
50 static inline struct hlist_bl_head *mb_cache_entry_head(struct mb_cache *cache,
74 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
127 void __mb_cache_entry_free(struct mb_cache *cache, struct mb_cache_entry *entry)
152 static struct mb_cache_entry *__entry_find(struct mb_cache *cache,
192 struct mb_cache_entry *mb_cache_entry_find_first(struct mb_cache *cache,
209 struct mb_cache_entry *mb_cache_entry_find_next(struct mb_cache *cache,
222 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
254 struct mb_cache_entry *mb_cache_entry_delete_or_get(struct mb_cache *cache,
286 void mb_cache_entry_touch(struct mb_cache *cache,
296 struct mb_cache *cache = shrink->private_data;
302 static unsigned long mb_cache_shrink(struct mb_cache *cache,
335 struct mb_cache *cache = shrink->private_data;
344 struct mb_cache *cache = container_of(work, struct mb_cache,
355 struct mb_cache *mb_cache_create(int bucket_bits)
357 struct mb_cache *cache;
361 cache = kzalloc(sizeof(struct mb_cache), GFP_KERNEL);
407 void mb_cache_destroy(struct mb_cache *cache)