Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c268 sks->sks_ref = 0; in spl_slab_alloc()
298 ASSERT(sks->sks_ref == 0); in spl_slab_free()
337 if (sks->sks_ref > 0) in spl_slab_reclaim()
902 sks->sks_ref++; in spl_cache_obj()
910 if (sks->sks_ref == 1) { in spl_cache_obj()
1131 ASSERT(sks->sks_ref < sks->sks_objs); in spl_cache_refill()
1138 while (sks->sks_ref < sks->sks_objs && refill-- > 0 && in spl_cache_refill()
1147 if (sks->sks_ref == sks->sks_objs) { in spl_cache_refill()
1177 sks->sks_ref--; in spl_cache_shrink()
1185 if (sks->sks_ref == (sks->sks_objs - 1)) { in spl_cache_shrink()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem_cache.h125 uint32_t sks_ref; /* Ref count used objects */ member