Searched refs:physmem_est (Results 1 – 3 of 3) sorted by relevance
172 long physmem_est; in vm_ksubmap_init() local198 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()
1060 kern_vfs_bio_buffer_alloc(caddr_t v, long physmem_est) in kern_vfs_bio_buffer_alloc() argument1071 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()
541 caddr_t kern_vfs_bio_buffer_alloc(caddr_t v, long physmem_est);