Searched refs:bslab (Results 1 – 1 of 1) sorted by relevance
88 struct bio_slab *bslab = kzalloc(sizeof(*bslab), GFP_KERNEL); in create_bio_slab() local90 if (!bslab) in create_bio_slab()93 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", size); in create_bio_slab()94 bslab->slab = kmem_cache_create(bslab->name, size, in create_bio_slab()97 if (!bslab->slab) in create_bio_slab()100 bslab->slab_ref = 1; in create_bio_slab()101 bslab->slab_size = size; in create_bio_slab()103 if (!xa_err(xa_store(&bio_slabs, size, bslab, GFP_KERNEL))) in create_bio_slab()104 return bslab; in create_bio_slab()106 kmem_cache_destroy(bslab->slab); in create_bio_slab()[all …]