Home
last modified time | relevance | path

Searched refs:physmem_est (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/vm/
H A Dvm_init.c172 long physmem_est; in vm_ksubmap_init() local
198 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) - in vm_ksubmap_init()
201 v = kern_vfs_bio_buffer_alloc(v, physmem_est); in vm_ksubmap_init()
/freebsd/sys/kern/
H A Dvfs_bio.c1060 kern_vfs_bio_buffer_alloc(caddr_t v, long physmem_est) in kern_vfs_bio_buffer_alloc() argument
1071 physmem_est = (physmem_est * KASAN_SHADOW_SCALE) / in kern_vfs_bio_buffer_alloc()
1074 physmem_est /= 3; in kern_vfs_bio_buffer_alloc()
1087 physmem_est = physmem_est * (PAGE_SIZE / 1024); in kern_vfs_bio_buffer_alloc()
1104 if (physmem_est > 4096) in kern_vfs_bio_buffer_alloc()
1105 nbuf += min((physmem_est - 4096) / factor, in kern_vfs_bio_buffer_alloc()
1107 if (physmem_est > 65536) in kern_vfs_bio_buffer_alloc()
1108 nbuf += min((physmem_est - 65536) * 2 / (factor * 5), in kern_vfs_bio_buffer_alloc()
/freebsd/sys/sys/
H A Dbuf.h541 caddr_t kern_vfs_bio_buffer_alloc(caddr_t v, long physmem_est);