Searched refs:BKVASIZE (Results 1 – 4 of 4) sorted by relevance
232 size = (long)nbuf * BKVASIZE + (long)bio_transient_maxcnt * maxphys; in vm_ksubmap_init()242 size = (long)nbuf * BKVASIZE; in vm_ksubmap_init()246 PAGE_SIZE, (mp_ncpus > 4) ? BKVASIZE * 8 : 0, M_WAITOK); in vm_ksubmap_init()
295 #ifndef BKVASIZE296 #define BKVASIZE 16384 /* must be power of 2 */ macro298 #define BKVAMASK (BKVASIZE-1)
1111 int factor = 4 * BKVASIZE / 1024; in kern_vfs_bio_buffer_alloc()1121 if (maxbcache && nbuf > maxbcache / BKVASIZE) in kern_vfs_bio_buffer_alloc()1122 nbuf = maxbcache / BKVASIZE; in kern_vfs_bio_buffer_alloc()1128 maxbuf = (LONG_MAX / 3) / BKVASIZE; in kern_vfs_bio_buffer_alloc()1150 maxbuf_sz = maxbcache != 0 ? maxbcache : maxbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1151 buf_sz = (long)nbuf * BKVASIZE; in kern_vfs_bio_buffer_alloc()1180 nbuf = buf_sz / BKVASIZE; in kern_vfs_bio_buffer_alloc()1260 maxbufspace = (long)nbuf * BKVASIZE; in bufinit()1299 while ((long)hidirtybuffers * BKVASIZE > 3 * hibufspace / 4) { in bufinit()
475 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE); in ncl_bioread()