Searched refs:BKVASIZE (Results 1 – 4 of 4) sorted by relevance
213 size = (long)nbuf * BKVASIZE + (long)bio_transient_maxcnt * maxphys; in vm_ksubmap_init()223 size = (long)nbuf * BKVASIZE; in vm_ksubmap_init()227 PAGE_SIZE, (mp_ncpus > 4) ? BKVASIZE * 8 : 0, M_WAITOK); in vm_ksubmap_init()
294 #ifndef BKVASIZE295 #define BKVASIZE 16384 /* must be power of 2 */ macro297 #define BKVAMASK (BKVASIZE-1)
1099 int factor = 4 * BKVASIZE / 1024; in kern_vfs_bio_buffer_alloc()1109 if (maxbcache && nbuf > maxbcache / BKVASIZE) in kern_vfs_bio_buffer_alloc()1110 nbuf = maxbcache / BKVASIZE; in kern_vfs_bio_buffer_alloc()1116 maxbuf = (LONG_MAX / 3) / BKVASIZE; in kern_vfs_bio_buffer_alloc()1138 maxbuf_sz = maxbcache != 0 ? maxbcache : maxbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1139 buf_sz = (long)nbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1168 nbuf = buf_sz / BKVASIZE; in kern_vfs_bio_buffer_alloc()1245 maxbufspace = (long)nbuf * BKVASIZE; in bufinit()1283 while ((long)hidirtybuffers * BKVASIZE > 3 * hibufspace / 4) { in bufinit()
478 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE); in ncl_bioread()