Lines Matching refs:waitq
528 struct wait_queue_head waitq; member
731 spin_lock(&iocg->waitq.lock); in iocg_lock()
733 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
740 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
743 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1329 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1384 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1407 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1466 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1507 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
1509 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1719 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2100 spin_lock(&iocg->waitq.lock); in ioc_forgive_debts()
2116 spin_unlock(&iocg->waitq.lock); in ioc_forgive_debts()
2136 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs()
2140 spin_lock(&iocg->waitq.lock); in ioc_check_iocgs()
2158 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs()
2191 spin_unlock(&iocg->waitq.lock); in ioc_check_iocgs()
2271 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2588 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
2675 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2688 finish_wait(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2735 spin_lock(&iocg->waitq.lock); in ioc_rqos_merge()
2746 spin_unlock(&iocg->waitq.lock); in ioc_rqos_merge()
2960 init_waitqueue_head(&iocg->waitq); in ioc_pd_init()