Lines Matching defs:defrag
171 * because the defrag code is executed when we're low on memory
880 kstat_named_t kmc_defrag; /* attempts to defrag all partial slabs */
881 kstat_named_t kmc_scan; /* attempts to defrag one partial slab */
919 { "defrag", KSTAT_DATA_UINT64 },
1084 uint32_t kmem_mtb_move = 60; /* defrag 1 slab (~15min) */
1085 uint32_t kmem_mtb_reap = 1800; /* defrag all slabs (~7.5hrs) */
3977 kmem_defrag_t *defrag;
3994 defrag = kmem_cache_alloc(kmem_defrag_cache, KM_SLEEP);
4002 cp->cache_defrag = defrag;
4003 defrag = NULL; /* nothing to free */
4021 if (defrag != NULL) {
4022 kmem_cache_free(kmem_defrag_cache, defrag); /* unused */
4785 * defrag is induced in the same logic that reaps a cache,