Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-throttle.c524 tg->slice_end[rw] = jiffies + DFL_THROTL_SLICE; in throtl_start_new_slice_with_credit()
528 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit()
539 tg->slice_end[rw] = jiffies + DFL_THROTL_SLICE; in throtl_start_new_slice()
544 tg->slice_end[rw], jiffies); in throtl_start_new_slice()
550 tg->slice_end[rw] = roundup(jiffy_end, DFL_THROTL_SLICE); in throtl_set_slice_end()
556 if (!time_before(tg->slice_end[rw], jiffy_end)) in throtl_extend_slice()
563 tg->slice_end[rw], jiffies); in throtl_extend_slice()
569 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used()
664 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
708 bytes_trim, io_trim, tg->slice_start[rw], tg->slice_end[rw], in throtl_trim_slice()
H A Dblk-throttle.h125 unsigned long slice_end[2]; member