Searched refs:pay_debt (Results 1 - 1 of 1) sorted by relevance

/linux-master/block/
H A Dblk-iocost.c1489 * Calculate the accumulated budget, pay debt if @pay_debt and wake up waiters
1490 * accordingly. When @pay_debt is %true, the caller must be holding ioc->lock in
1493 static void iocg_kick_waitq(struct ioc_gq *iocg, bool pay_debt, argument
1508 if (pay_debt && iocg->abs_vdebt && vbudget > 0) {
1526 * caller raced and called without @pay_debt. Shouldn't wake up waiters
1579 bool pay_debt = READ_ONCE(iocg->abs_vdebt); local
1585 iocg_lock(iocg, pay_debt, &flags);
1586 iocg_kick_waitq(iocg, pay_debt, &now);
1587 iocg_unlock(iocg, pay_debt, &flags);

Completed in 171 milliseconds