Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dvfs_cache.c445 static bool cache_neg_evict_cond(u_long lnumcache);
796 u_long lnumcache; in cache_alloc() local
810 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
811 if (cache_neg_evict_cond(lnumcache)) { in cache_alloc()
812 lnumcache = atomic_load_long(&numcache); in cache_alloc()
814 if (__predict_false(lnumcache >= ncsize)) { in cache_alloc()
1591 cache_neg_evict_cond(u_long lnumcache) in cache_neg_evict_cond() argument
1595 if (ncsize - 1000 < lnumcache) in cache_neg_evict_cond()
1600 if (lnumneg * ncnegfactor < lnumcache) in cache_neg_evict_cond()