Home
last modified time | relevance | path

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

/freebsd-13.1/sys/kern/
H A Dvfs_cache.c362 static bool cache_neg_evict_cond(u_long lnumcache);
723 u_long lnumcache; in cache_alloc() local
737 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
738 if (cache_neg_evict_cond(lnumcache)) { in cache_alloc()
739 lnumcache = atomic_load_long(&numcache); in cache_alloc()
741 if (__predict_false(lnumcache >= ncsize)) { in cache_alloc()
1518 cache_neg_evict_cond(u_long lnumcache) in cache_neg_evict_cond() argument
1522 if (ncsize - 1000 < lnumcache) in cache_neg_evict_cond()
1527 if (lnumneg * ncnegfactor < lnumcache) in cache_neg_evict_cond()