Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dvfs_cache.c358 static bool cache_neg_evict_cond(u_long lnumcache);
709 u_long lnumcache; in cache_alloc() local
723 lnumcache = atomic_fetchadd_long(&numcache, 1) + 1; in cache_alloc()
724 if (cache_neg_evict_cond(lnumcache)) { in cache_alloc()
725 lnumcache = atomic_load_long(&numcache); in cache_alloc()
727 if (__predict_false(lnumcache >= ncsize)) { in cache_alloc()
1524 cache_neg_evict_cond(u_long lnumcache) in cache_neg_evict_cond() argument
1528 if (ncsize - 1000 < lnumcache) in cache_neg_evict_cond()
1533 if (lnumneg * ncnegfactor < lnumcache) in cache_neg_evict_cond()