Lines Matching defs:dblk_cache
81 * the dblk_cache[] array provides the mapping from size to dblk cache.
162 static struct kmem_cache *dblk_cache[DBLK_MAX_CACHE / DBLK_MIN_SIZE];
210 dbp->db_cache = dblk_cache[index];
394 dblk_cache[(lastsize - 1) >> DBLK_SIZE_SHIFT] = cp;
432 if ((dbp = kmem_cache_alloc(dblk_cache[index], KM_NOSLEEP)) == NULL) {
1011 kmem_cache_free(bcp->dblk_cache, dbp);
1015 kmem_cache_destroy(bcp->dblk_cache);
1047 bcp->dblk_cache = kmem_cache_create(buffer, sizeof (dblk_t),
1061 kmem_cache_destroy(bcp->dblk_cache);
1087 if ((dbp = kmem_cache_alloc(bcp->dblk_cache, KM_NOSLEEP)) == NULL) {
1189 dbp = kmem_cache_alloc(dblk_cache[index], KM_SLEEP);