Lines Matching defs:waitq

532 	struct wait_queue_head		waitq;
734 spin_lock(&iocg->waitq.lock);
736 spin_lock_irqsave(&iocg->waitq.lock, *flags);
743 spin_unlock(&iocg->waitq.lock);
746 spin_unlock_irqrestore(&iocg->waitq.lock, *flags);
1354 lockdep_assert_held(&iocg->waitq.lock);
1417 lockdep_assert_held(&iocg->waitq.lock);
1440 lockdep_assert_held(&iocg->waitq.lock);
1491 * addition to iocg->waitq.lock.
1502 lockdep_assert_held(&iocg->waitq.lock);
1543 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx);
1545 if (!waitqueue_active(&iocg->waitq)) {
1755 if (waitqueue_active(&iocg->waitq) ||
2136 spin_lock(&iocg->waitq.lock);
2152 spin_unlock(&iocg->waitq.lock);
2172 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt &&
2176 spin_lock(&iocg->waitq.lock);
2194 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt ||
2227 spin_unlock(&iocg->waitq.lock);
2309 (!waitqueue_active(&iocg->waitq) &&
2631 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt &&
2640 * debt. Otherwise, the issuer is blocked on @iocg->waitq. Debt handling
2641 * requires @ioc->lock, waitq handling @iocg->waitq.lock. Determine
2650 * @iocg must stay activated for debt and waitq handling. Deactivation
2651 * is synchronized against both ioc->lock and waitq.lock and we won't
2700 * Append self to the waitq and schedule the wakeup timer if we're
2709 * All waiters are on iocg->waitq and the wait states are
2710 * synchronized using waitq.lock.
2718 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait);
2731 finish_wait(&iocg->waitq, &wait.wait);
2778 spin_lock(&iocg->waitq.lock);
2789 spin_unlock(&iocg->waitq.lock);
2997 init_waitqueue_head(&iocg->waitq);