Searched refs:BKVASIZE (Results 1 – 3 of 3) sorted by relevance
215 size = (long)nbuf * BKVASIZE + (long)bio_transient_maxcnt * maxphys; in vm_ksubmap_init()225 size = (long)nbuf * BKVASIZE; in vm_ksubmap_init()229 PAGE_SIZE, (mp_ncpus > 4) ? BKVASIZE * 8 : 0, 0); in vm_ksubmap_init()
277 #ifndef BKVASIZE278 #define BKVASIZE 16384 /* must be power of 2 */ macro280 #define BKVAMASK (BKVASIZE-1)
1064 int factor = 4 * BKVASIZE / 1024; in kern_vfs_bio_buffer_alloc()1074 if (maxbcache && nbuf > maxbcache / BKVASIZE) in kern_vfs_bio_buffer_alloc()1075 nbuf = maxbcache / BKVASIZE; in kern_vfs_bio_buffer_alloc()1081 maxbuf = (LONG_MAX / 3) / BKVASIZE; in kern_vfs_bio_buffer_alloc()1103 maxbuf_sz = maxbcache != 0 ? maxbcache : maxbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1104 buf_sz = (long)nbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1133 nbuf = buf_sz / BKVASIZE; in kern_vfs_bio_buffer_alloc()1198 maxbufspace = (long)nbuf * BKVASIZE; in bufinit()1236 while ((long)hidirtybuffers * BKVASIZE > 3 * hibufspace / 4) { in bufinit()