Home
last modified time | relevance | path

Searched refs:skm_avail (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c500 int count = MIN(flush, skm->skm_avail); in spl_cache_flush()
504 skm->skm_avail -= count; in spl_cache_flush()
506 sizeof (void *) * skm->skm_avail); in spl_cache_flush()
585 skm->skm_avail = 0; in spl_magazine_alloc()
602 ASSERT(skm->skm_avail == 0); in spl_magazine_free()
648 spl_cache_flush(skc, skm, skm->skm_avail); in spl_magazine_destroy()
1094 refill = MIN(skm->skm_refill, skm->skm_size - skm->skm_avail); in spl_cache_refill()
1122 refill = MIN(refill, skm->skm_size - skm->skm_avail); in spl_cache_refill()
1141 ASSERT(skm->skm_avail < skm->skm_size); in spl_cache_refill()
1143 skm->skm_objs[skm->skm_avail++] = in spl_cache_refill()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem_cache.h103 uint32_t skm_avail; /* Available objects */ member