Searched refs:bslab (Results 1 – 1 of 1) sorted by relevance
83 struct bio_slab *bslab = kzalloc(sizeof(*bslab), GFP_KERNEL); in create_bio_slab() local85 if (!bslab) in create_bio_slab()88 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", size); in create_bio_slab()89 bslab->slab = kmem_cache_create(bslab->name, size, in create_bio_slab()92 if (!bslab->slab) in create_bio_slab()99 return bslab; in create_bio_slab()104 kfree(bslab); in create_bio_slab()120 if (bslab) in bio_find_or_create_slab()121 bslab->slab_ref++; in bio_find_or_create_slab()126 if (bslab) in bio_find_or_create_slab()[all …]
Completed in 8 milliseconds