Lines Matching refs:wait
136 unsigned int *wait) in increase_sleep_time() argument
141 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
144 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time()
145 *wait = max_time; in increase_sleep_time()
147 *wait += min_time; in increase_sleep_time()
151 unsigned int *wait) in decrease_sleep_time() argument
155 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
156 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
158 if ((long long)*wait - (long long)min_time < (long long)min_time) in decrease_sleep_time()
159 *wait = min_time; in decrease_sleep_time()
161 *wait -= min_time; in decrease_sleep_time()