Home | History | Annotate | Download | only in kern

Lines Matching refs:bufcache

185 #ifdef BUFCACHE
186 # if (BUFCACHE < 5) || (BUFCACHE > 95)
187 # error BUFCACHE is not between 5 and 95
190 # define BUFCACHE 15
195 u_int bufcache = BUFCACHE; /* max % of RAM to use for buffer cache */
336 /* lowater is approx. 2% of memory (with bufcache = 15) */
431 * - Otherwise, use bufcache as the percentage of
437 if (bufcache < 5) {
438 printf("forcing bufcache %d -> 5", bufcache);
439 bufcache = 5;
441 if (bufcache > 95) {
442 printf("forcing bufcache %d -> 95", bufcache);
443 bufcache = 95;
447 n = calc_cache_size(mapsz, bufcache,
1882 if (node.sysctl_data == &bufcache) {
1895 if (rnode->sysctl_data == &bufcache) {
1898 bufcache = temp_bufcache;
1945 CTLTYPE_INT, "bufcache",
1948 sysctl_bufvm_update, 0, &bufcache, 0,