Searched refs:pay_debt (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 1428 * Calculate the accumulated budget, pay debt if @pay_debt and wake up waiters 1429 * accordingly. When @pay_debt is %true, the caller must be holding ioc->lock in 1432 static void iocg_kick_waitq(struct ioc_gq *iocg, bool pay_debt, in iocg_kick_waitq() argument 1447 if (pay_debt && iocg->abs_vdebt && vbudget > 0) { in iocg_kick_waitq() 1465 * caller raced and called without @pay_debt. Shouldn't wake up waiters in iocg_kick_waitq() 1518 bool pay_debt = READ_ONCE(iocg->abs_vdebt); in iocg_waitq_timer_fn() local 1524 iocg_lock(iocg, pay_debt, &flags); in iocg_waitq_timer_fn() 1525 iocg_kick_waitq(iocg, pay_debt, &now); in iocg_waitq_timer_fn() 1526 iocg_unlock(iocg, pay_debt, &flags); in iocg_waitq_timer_fn()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 1485 * Calculate the accumulated budget, pay debt if @pay_debt and wake up waiters 1486 * accordingly. When @pay_debt is %true, the caller must be holding ioc->lock in 1489 static void iocg_kick_waitq(struct ioc_gq *iocg, bool pay_debt, in iocg_kick_waitq() argument 1504 if (pay_debt && iocg->abs_vdebt && vbudget > 0) { in iocg_kick_waitq() 1522 * caller raced and called without @pay_debt. Shouldn't wake up waiters in iocg_kick_waitq() 1575 bool pay_debt = READ_ONCE(iocg->abs_vdebt); in iocg_waitq_timer_fn() local 1581 iocg_lock(iocg, pay_debt, &flags); in iocg_waitq_timer_fn() 1582 iocg_kick_waitq(iocg, pay_debt, &now); in iocg_waitq_timer_fn() 1583 iocg_unlock(iocg, pay_debt, &flags); in iocg_waitq_timer_fn()
|
Completed in 10 milliseconds