Lines Matching refs:waitq
534 struct wait_queue_head waitq;
742 spin_lock(&iocg->waitq.lock);
744 spin_lock_irqsave(&iocg->waitq.lock, *flags);
751 spin_unlock(&iocg->waitq.lock);
754 spin_unlock_irqrestore(&iocg->waitq.lock, *flags);
1297 lockdep_assert_held(&iocg->waitq.lock);
1359 lockdep_assert_held(&iocg->waitq.lock);
1382 lockdep_assert_held(&iocg->waitq.lock);
1430 * addition to iocg->waitq.lock.
1441 lockdep_assert_held(&iocg->waitq.lock);
1482 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx);
1484 if (!waitqueue_active(&iocg->waitq)) {
1700 if (waitqueue_active(&iocg->waitq) ||
2081 spin_lock(&iocg->waitq.lock);
2097 spin_unlock(&iocg->waitq.lock);
2136 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt &&
2140 spin_lock(&iocg->waitq.lock);
2158 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt ||
2188 spin_unlock(&iocg->waitq.lock);
2253 (!waitqueue_active(&iocg->waitq) &&
2594 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt &&
2603 * debt. Otherwise, the issuer is blocked on @iocg->waitq. Debt handling
2604 * requires @ioc->lock, waitq handling @iocg->waitq.lock. Determine
2613 * @iocg must stay activated for debt and waitq handling. Deactivation
2614 * is synchronized against both ioc->lock and waitq.lock and we won't
2663 * Append self to the waitq and schedule the wakeup timer if we're
2672 * All waiters are on iocg->waitq and the wait states are
2673 * synchronized using waitq.lock.
2681 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait);
2694 finish_wait(&iocg->waitq, &wait.wait);
2741 spin_lock(&iocg->waitq.lock);
2752 spin_unlock(&iocg->waitq.lock);
2959 init_waitqueue_head(&iocg->waitq);