Searched refs:new_max_active (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dasync-thread.c182 int new_max_active; thresh_exec_hook() local
199 new_max_active = wq->current_max; thresh_exec_hook()
203 * don't need it so accurate to calculate new_max_active. thresh_exec_hook()
207 new_max_active++; thresh_exec_hook()
209 new_max_active--; thresh_exec_hook()
210 new_max_active = clamp_val(new_max_active, 1, wq->max_active); thresh_exec_hook()
211 if (new_max_active != wq->current_max) { thresh_exec_hook()
213 wq->current_max = new_max_active; thresh_exec_hook()

Completed in 50 milliseconds