Home
last modified time | relevance | path

Searched refs:DFL_THROTL_SLICE (Results 1 – 1 of 1) sorted by relevance

/linux/block/
H A Dblk-throttle.c24 #define DFL_THROTL_SLICE (HZ / 10) macro
456 unsigned long max_expire = jiffies + 8 * DFL_THROTL_SLICE; in throtl_schedule_pending_timer()
524 tg->slice_end[rw] = jiffies + DFL_THROTL_SLICE; in throtl_start_new_slice_with_credit()
539 tg->slice_end[rw] = jiffies + DFL_THROTL_SLICE; in throtl_start_new_slice()
550 tg->slice_end[rw] = roundup(jiffy_end, DFL_THROTL_SLICE); in throtl_set_slice_end()
681 throtl_set_slice_end(tg, rw, jiffies + DFL_THROTL_SLICE); in throtl_trim_slice()
684 DFL_THROTL_SLICE); in throtl_trim_slice()
686 if (time_elapsed < DFL_THROTL_SLICE * 2) in throtl_trim_slice()
697 time_elapsed -= DFL_THROTL_SLICE; in throtl_trim_slice()
707 rw == READ ? 'R' : 'W', time_elapsed / DFL_THROTL_SLICE, in throtl_trim_slice()
[all …]