Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/btrfs/
H A Dasync-thread.c169 int new_current_active; in thresh_exec_hook() local
186 new_current_active = wq->current_active; in thresh_exec_hook()
194 new_current_active++; in thresh_exec_hook()
196 new_current_active--; in thresh_exec_hook()
197 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook()
198 if (new_current_active != wq->current_active) { in thresh_exec_hook()
200 wq->current_active = new_current_active; in thresh_exec_hook()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dasync-thread.c179 int new_current_active; in thresh_exec_hook() local
196 new_current_active = wq->current_active; in thresh_exec_hook()
204 new_current_active++; in thresh_exec_hook()
206 new_current_active--; in thresh_exec_hook()
207 new_current_active = clamp_val(new_current_active, 1, wq->limit_active); in thresh_exec_hook()
208 if (new_current_active != wq->current_active) { in thresh_exec_hook()
210 wq->current_active = new_current_active; in thresh_exec_hook()

Completed in 2 milliseconds