Searched refs:ioc_locked (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 2570 bool use_debt, ioc_locked; in ioc_rqos_throttle() local 2608 ioc_locked = use_debt || READ_ONCE(iocg->abs_vdebt); in ioc_rqos_throttle() 2610 iocg_lock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2620 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2647 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2653 if (!ioc_locked) { in ioc_rqos_throttle() 2655 ioc_locked = true; in ioc_rqos_throttle() 2682 iocg_kick_waitq(iocg, ioc_locked, &now); in ioc_rqos_throttle() 2684 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 2603 bool use_debt, ioc_locked; in ioc_rqos_throttle() local 2641 ioc_locked = use_debt || READ_ONCE(iocg->abs_vdebt); in ioc_rqos_throttle() 2643 iocg_lock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2653 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2680 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle() 2686 if (!ioc_locked) { in ioc_rqos_throttle() 2688 ioc_locked = true; in ioc_rqos_throttle() 2715 iocg_kick_waitq(iocg, ioc_locked, &now); in ioc_rqos_throttle() 2717 iocg_unlock(iocg, ioc_locked, &flags); in ioc_rqos_throttle()
|
Completed in 10 milliseconds