Lines Matching refs:waitq
532 struct wait_queue_head waitq; member
740 spin_lock(&iocg->waitq.lock); in iocg_lock()
742 spin_lock_irqsave(&iocg->waitq.lock, *flags); in iocg_lock()
749 spin_unlock(&iocg->waitq.lock); in iocg_unlock()
752 spin_unlock_irqrestore(&iocg->waitq.lock, *flags); in iocg_unlock()
1343 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_delay()
1405 lockdep_assert_held(&iocg->waitq.lock); in iocg_incur_debt()
1428 lockdep_assert_held(&iocg->waitq.lock); in iocg_pay_debt()
1487 lockdep_assert_held(&iocg->waitq.lock); in iocg_kick_waitq()
1528 __wake_up_locked_key(&iocg->waitq, TASK_NORMAL, &ctx); in iocg_kick_waitq()
1530 if (!waitqueue_active(&iocg->waitq)) { in iocg_kick_waitq()
1746 if (waitqueue_active(&iocg->waitq) || in hweight_after_donation()
2127 spin_lock(&iocg->waitq.lock); in ioc_forgive_debts()
2143 spin_unlock(&iocg->waitq.lock); in ioc_forgive_debts()
2163 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_check_iocgs()
2167 spin_lock(&iocg->waitq.lock); in ioc_check_iocgs()
2185 if (waitqueue_active(&iocg->waitq) || iocg->abs_vdebt || in ioc_check_iocgs()
2218 spin_unlock(&iocg->waitq.lock); in ioc_check_iocgs()
2298 (!waitqueue_active(&iocg->waitq) && in ioc_timer_fn()
2616 if (!waitqueue_active(&iocg->waitq) && !iocg->abs_vdebt && in ioc_rqos_throttle()
2703 __add_wait_queue_entry_tail(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2716 finish_wait(&iocg->waitq, &wait.wait); in ioc_rqos_throttle()
2763 spin_lock(&iocg->waitq.lock); in ioc_rqos_merge()
2774 spin_unlock(&iocg->waitq.lock); in ioc_rqos_merge()
2987 init_waitqueue_head(&iocg->waitq); in ioc_pd_init()