Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dvfs_cache.c235 static bool cache_neg_evict_cond(u_long lnumcache);
648 u_long lnumcache; in cache_alloc() local
662 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
663 if (cache_neg_evict_cond(lnumcache)) { in cache_alloc()
664 lnumcache = atomic_load_long(&numcache); in cache_alloc()
666 if (__predict_false(lnumcache >= ncsize)) { in cache_alloc()
1421 cache_neg_evict_cond(u_long lnumcache) in cache_neg_evict_cond() argument
1425 if (ncsize - 1000 < lnumcache) in cache_neg_evict_cond()
1430 if (lnumneg * ncnegfactor < lnumcache) in cache_neg_evict_cond()