Lines Matching refs:total_ws
684 atomic_set(&wsm->total_ws, 0);
696 atomic_set(&wsm->total_ws, 1);
712 atomic_dec(&wsman->total_ws);
730 atomic_t *total_ws;
737 total_ws = &wsm->total_ws;
751 if (atomic_read(total_ws) > cpus) {
756 if (atomic_read(total_ws) > cpus && !*free_ws)
761 atomic_inc(total_ws);
774 atomic_dec(total_ws);
787 if (atomic_read(total_ws) == 0) {
826 atomic_t *total_ws;
833 total_ws = &wsm->total_ws;
847 atomic_dec(total_ws);