Lines Matching refs:ceph_msg_cache
158 static struct kmem_cache *ceph_msg_cache; variable
238 BUG_ON(ceph_msg_cache); in ceph_msgr_slab_init()
239 ceph_msg_cache = kmem_cache_create("ceph_msg", in ceph_msgr_slab_init()
243 if (!ceph_msg_cache) in ceph_msgr_slab_init()
254 kmem_cache_destroy(ceph_msg_cache); in ceph_msgr_slab_init()
255 ceph_msg_cache = NULL; in ceph_msgr_slab_init()
266 BUG_ON(!ceph_msg_cache); in ceph_msgr_slab_exit()
267 kmem_cache_destroy(ceph_msg_cache); in ceph_msgr_slab_exit()
268 ceph_msg_cache = NULL; in ceph_msgr_slab_exit()
3234 m = kmem_cache_zalloc(ceph_msg_cache, flags); in ceph_msg_new()
3371 kmem_cache_free(ceph_msg_cache, m); in ceph_msg_free()