Lines Matching refs:wait
69 unsigned int *wait) in increase_sleep_time() argument
74 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
77 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time()
78 *wait = max_time; in increase_sleep_time()
80 *wait += min_time; in increase_sleep_time()
84 unsigned int *wait) in decrease_sleep_time() argument
88 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
89 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
91 if ((long long)*wait - (long long)min_time < (long long)min_time) in decrease_sleep_time()
92 *wait = min_time; in decrease_sleep_time()
94 *wait -= min_time; in decrease_sleep_time()