Lines Matching refs:waitq
532 struct wait_queue_head waitq; member
734 spin_lock(&iocg->waitq.lock); in iocg_lock()
736 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
743 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
746 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1361 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1424 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1447 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1509 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1550 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
1552 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1762 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2143 spin_lock(&iocg->waitq.lock); in ioc_forgive_debts()
2161 spin_unlock(&iocg->waitq.lock); in ioc_forgive_debts()
2181 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs()
2185 spin_lock(&iocg->waitq.lock); in ioc_check_iocgs()
2203 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs()
2236 spin_unlock(&iocg->waitq.lock); in ioc_check_iocgs()
2318 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2640 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
2726 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2739 finish_wait(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2786 spin_lock(&iocg->waitq.lock); in ioc_rqos_merge()
2797 spin_unlock(&iocg->waitq.lock); in ioc_rqos_merge()
3005 init_waitqueue_head(&iocg->waitq); in ioc_pd_init()