Lines Matching refs:timeout
1315 bigtime_t timeout = (flags & CREATE_AREA_DONT_WAIT) != 0 ? 0 : 1000000;
1316 if (vm_try_reserve_memory(size, priority, timeout) != B_OK)
4676 vm_try_reserve_memory(size_t amount, int priority, bigtime_t timeout)
4689 if (timeout <= 0)
4692 // turn timeout into an absolute timeout
4693 timeout += system_time();
4695 // loop until we've got the memory or the timeout occurs
4702 B_ABSOLUTE_TIMEOUT, timeout);
4711 } while (timeout > system_time());