Searched refs:thread_cnt (Results 1 – 1 of 1) sorted by relevance
254 int thread_cnt; in raid5_wakeup_stripe_thread() local281 thread_cnt = group->stripes_cnt / MAX_STRIPE_BATCH - 1; in raid5_wakeup_stripe_thread()283 for (i = 1; i < conf->worker_cnt_per_group && thread_cnt > 0; i++) { in raid5_wakeup_stripe_thread()288 thread_cnt--; in raid5_wakeup_stripe_thread()