Lines Matching defs:slab
11 #include <linux/slab.h>
41 struct kmem_cache *slab;
75 * Our slab pool management
78 struct kmem_cache *slab;
94 bslab->slab = kmem_cache_create(bslab->name, size,
97 if (!bslab->slab)
106 kmem_cache_destroy(bslab->slab);
132 return bslab->slab;
144 if (WARN(!bslab, KERN_ERR "bio: unable to find slab!\n"))
147 WARN_ON_ONCE(bslab->slab != bs->bio_slab);
156 kmem_cache_destroy(bslab->slab);
170 kmem_cache_free(biovec_slab(nr_vecs)->slab, bv);
198 * Try a slab allocation first for all smaller allocations. If that
205 bvl = kmem_cache_alloc(bvs->slab, bvec_alloc_gfp(gfp_mask));
463 * @gfp_mask: the GFP_* mask given to the slab allocator
586 * @gfp_mask: the GFP_* mask given to the slab allocator
1689 return mempool_init_slab_pool(pool, pool_entries, bp->slab);
1793 bvs->slab = kmem_cache_create(bvs->name,