Lines Matching defs:cache
58 #define TYPE_CACHE 3 /* lkb_cid is the bufctl's cache */
59 #define TYPE_UMEM 4 /* lkb_cid is the bufctl's cache */
64 #define LKM_CTL_CACHE 3 /* normal alloc, non-debug, PTR is cache */
434 mdb_warn("cannot read arena %p for cache '%s'",
440 * If this cache isn't allocating from either the umem_default or
445 dprintf(("Skipping cache '%s' with arena '%s'\n",
485 mdb_warn("can't walk umem for cache %p (%s)", addr,
811 * Also, we use the cache pointer as the leaks's cid, to
887 umem_cache_t cache;
983 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) {
987 * cache wasn't readable.
989 mdb_warn("can't read cache %p for leaked "
995 lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
1011 cache.cache_name, lk_bytes);
1015 cache.cache_name, lk_ttl,
1016 cache.cache_bufsize, lk_bytes);
1031 if (mdb_vread(&cache, sizeof (cache), lkb->lkb_data) == -1) {
1035 * cache wasn't readable.
1037 mdb_warn("can't read cache %p for leaked "
1043 lk_bytes += (lkb->lkb_dups + 1) * cache.cache_bufsize;
1056 cache.cache_name, lk_bytes);
1060 cache.cache_name, lk_ttl,
1061 cache.cache_bufsize, lk_bytes);