Lines Matching refs:ceph_msg_cache
159 static struct kmem_cache *ceph_msg_cache; variable
240 BUG_ON(ceph_msg_cache); in ceph_msgr_slab_init()
241 ceph_msg_cache = kmem_cache_create("ceph_msg", in ceph_msgr_slab_init()
245 if (!ceph_msg_cache) in ceph_msgr_slab_init()
256 kmem_cache_destroy(ceph_msg_cache); in ceph_msgr_slab_init()
257 ceph_msg_cache = NULL; in ceph_msgr_slab_init()
268 BUG_ON(!ceph_msg_cache); in ceph_msgr_slab_exit()
269 kmem_cache_destroy(ceph_msg_cache); in ceph_msgr_slab_exit()
270 ceph_msg_cache = NULL; in ceph_msgr_slab_exit()
3269 m = kmem_cache_zalloc(ceph_msg_cache, flags); in ceph_msg_new()
3405 kmem_cache_free(ceph_msg_cache, m); in ceph_msg_free()