Home
last modified time | relevance | path

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

/src/sys/kern/
H A Dvfs_cache.c470 static bool cache_neg_evict_cond(u_long lnumcache);
850 u_long lnumcache; in cache_alloc() local
864 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
865 if (cache_neg_evict_cond(lnumcache)) { in cache_alloc()
866 lnumcache = atomic_load_long(&numcache); in cache_alloc()
868 if (__predict_false(lnumcache >= ncsize)) { in cache_alloc()
1664 cache_neg_evict_cond(u_long lnumcache) in cache_neg_evict_cond() argument
1668 if (ncsize - 1000 < lnumcache) in cache_neg_evict_cond()
1673 if (lnumneg * ncnegfactor < lnumcache) in cache_neg_evict_cond()