vm_try_reserve_memory
status_t vm_try_reserve_memory(size_t bytes, int priority, bigtime_t timeout);
if (vm_try_reserve_memory(mapPages * B_PAGE_SIZE, VM_PRIORITY_SYSTEM,
status_t error = vm_try_reserve_memory(size, priority,
if (vm_try_reserve_memory(size - committed_size, priority, 1000000)
if (vm_try_reserve_memory(B_PAGE_SIZE, priority, 0) != B_OK) {
if (vm_try_reserve_memory(size, priority, timeout) != B_OK)