Home
last modified time | relevance | path

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

/freebsd-14.2/sys/vm/
H A Dvm_init.c213 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()
/freebsd-14.2/sys/sys/
H A Dparam.h294 #ifndef BKVASIZE
295 #define BKVASIZE 16384 /* must be power of 2 */ macro
297 #define BKVAMASK (BKVASIZE-1)
/freebsd-14.2/sys/kern/
H A Dvfs_bio.c1099 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()
/freebsd-14.2/sys/fs/nfsclient/
H A Dnfs_clbio.c478 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE); in ncl_bioread()