Lines Matching defs:wq
289 wait_queue_head_t *wq = bit_waitqueue(m, RPC_TASK_ACTIVE);
296 spin_lock_irqsave(&wq->lock, flags);
299 if (waitqueue_active(wq))
300 __wake_up_locked_key(wq, TASK_NORMAL, &k);
301 spin_unlock_irqrestore(&wq->lock, flags);
309 * to enforce taking of the wq->lock and hence avoid races with
1066 struct workqueue_struct *wq;
1072 wq = alloc_workqueue("rpciod", WQ_MEM_RECLAIM, 1);
1073 rpciod_workqueue = wq;
1079 struct workqueue_struct *wq = NULL;
1085 wq = rpciod_workqueue;
1087 destroy_workqueue(wq);