Lines Matching defs:slab
11 #include <linux/slab.h>
43 struct kmem_cache *slab;
77 * Our slab pool management
80 struct kmem_cache *slab;
96 bslab->slab = kmem_cache_create(bslab->name, size,
99 if (!bslab->slab)
108 kmem_cache_destroy(bslab->slab);
139 return bslab->slab;
151 if (WARN(!bslab, KERN_ERR "bio: unable to find slab!\n"))
154 WARN_ON_ONCE(bslab->slab != bs->bio_slab);
163 kmem_cache_destroy(bslab->slab);
207 kmem_cache_free(biovec_slab(bio->bi_max_vecs)->slab,
506 * @gfp: the GFP_* mask given to the slab allocator
571 bvecs = kmem_cache_alloc(bvs->slab, gfp);
581 * allocations just go back to the slab allocation.
614 * @gfp_mask: the GFP_* mask given to the slab allocator
1898 return mempool_init_slab_pool(pool, pool_entries, bp->slab);
1999 bvs->slab = kmem_cache_create(bvs->name,