Searched refs:use_delay (Results 1 – 6 of 6) sorted by relevance
| /linux/block/ |
| H A D | blk-cgroup.h | 85 atomic_t use_delay; member 397 if (WARN_ON_ONCE(atomic_read(&blkg->use_delay) < 0)) in blkcg_use_delay() 399 if (atomic_add_return(1, &blkg->use_delay) == 1) in blkcg_use_delay() 405 int old = atomic_read(&blkg->use_delay); in blkcg_unuse_delay() 419 while (old && !atomic_try_cmpxchg(&blkg->use_delay, &old, old - 1)) in blkcg_unuse_delay() 440 int old = atomic_read(&blkg->use_delay); in blkcg_set_delay() 443 if (!old && atomic_try_cmpxchg(&blkg->use_delay, &old, -1)) in blkcg_set_delay() 457 int old = atomic_read(&blkg->use_delay); in blkcg_clear_delay() 460 if (old && atomic_try_cmpxchg(&blkg->use_delay, &old, 0)) in blkcg_clear_delay()
|
| H A D | blk-cgroup.c | 1169 if (blkcg_debug_stats && atomic_read(&blkg->use_delay)) { in blkcg_print_one_stat() 1170 seq_printf(s, " use_delay=%d delay_nsec=%llu", in blkcg_print_one_stat() 1171 atomic_read(&blkg->use_delay), in blkcg_print_one_stat() 1861 /* negative use_delay means no scaling, see blkcg_set_delay() */ in blkcg_scale_delay() 1862 if (atomic_read(&blkg->use_delay) < 0) in blkcg_scale_delay() 1873 * the use_delay counter. The idea is if we're unthrottling the blkg we in blkcg_scale_delay() 1882 int cur_use = atomic_read(&blkg->use_delay); in blkcg_scale_delay() 1924 int use_delay = atomic_read(&blkg->use_delay); in blkcg_maybe_throttle_blkg() local 1926 if (use_delay) { in blkcg_maybe_throttle_blkg() [all...] |
| H A D | blk-iolatency.c | 292 unsigned use_delay = atomic_read(&lat_to_blkg(iolat)->use_delay); in __blkcg_iolatency_throttle() local 294 if (use_delay) in __blkcg_iolatency_throttle()
|
| H A D | blk-iocost.c | 2292 !atomic_read(&iocg_to_blkg(iocg)->use_delay) && in ioc_timer_fn()
|
| /linux/tools/cgroup/ |
| H A D | iocost_monitor.py | 170 if blkg.use_delay.counter.value_() != 0:
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 2318 originating group is being throttled you will see the use_delay and delay_nsec
|