Lines Matching refs:waitq
530 struct wait_queue_head waitq; member
738 spin_lock(&iocg->waitq.lock); in iocg_lock()
740 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
747 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
750 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1278 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1333 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1356 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1414 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1455 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
1457 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1673 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2054 spin_lock(&iocg->waitq.lock); in ioc_forgive_debts()
2070 spin_unlock(&iocg->waitq.lock); in ioc_forgive_debts()
2109 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_timer_fn()
2113 spin_lock(&iocg->waitq.lock); in ioc_timer_fn()
2131 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_timer_fn()
2161 spin_unlock(&iocg->waitq.lock); in ioc_timer_fn()
2226 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2549 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
2636 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2649 finish_wait(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2696 spin_lock(&iocg->waitq.lock); in ioc_rqos_merge()
2707 spin_unlock(&iocg->waitq.lock); in ioc_rqos_merge()
2908 init_waitqueue_head(&iocg->waitq); in ioc_pd_init()