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.c267 sks->sks_ref = 0; in spl_slab_alloc()
297 ASSERT0(sks->sks_ref); in spl_slab_free()
336 if (sks->sks_ref > 0) in spl_slab_reclaim()
901 sks->sks_ref++; in spl_cache_obj()
909 if (sks->sks_ref == 1) { in spl_cache_obj()
1130 ASSERT(sks->sks_ref < sks->sks_objs); in spl_cache_refill()
1137 while (sks->sks_ref < sks->sks_objs && refill-- > 0 && in spl_cache_refill()
1146 if (sks->sks_ref == sks->sks_objs) { in spl_cache_refill()
1176 sks->sks_ref--; in spl_cache_shrink()
1184 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.h126 uint32_t sks_ref; /* Ref count used objects */ member