Home
last modified time | relevance | path

Searched refs:bslab (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/block/
Dbio.c87 struct bio_slab *bslab = kzalloc(sizeof(*bslab), GFP_KERNEL); in create_bio_slab() local
89 if (!bslab) in create_bio_slab()
92 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", size); in create_bio_slab()
93 bslab->slab = kmem_cache_create(bslab->name, size, in create_bio_slab()
96 if (!bslab->slab) in create_bio_slab()
99 bslab->slab_ref = 1; in create_bio_slab()
100 bslab->slab_size = size; in create_bio_slab()
102 if (!xa_err(xa_store(&bio_slabs, size, bslab, GFP_KERNEL))) in create_bio_slab()
103 return bslab; in create_bio_slab()
105 kmem_cache_destroy(bslab->slab); in create_bio_slab()
[all …]