Searched refs:throtl_slice (Results 1 – 1 of 1) sorted by relevance
22 static unsigned long throtl_slice = HZ/10; /* 100 ms */ variable565 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice_with_credit()577 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice()587 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_set_slice_end()593 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_extend_slice()633 throtl_set_slice_end(tg, rw, jiffies + throtl_slice); in throtl_trim_slice()637 nr_slices = time_elapsed / throtl_slice; in throtl_trim_slice()641 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice()645 io_trim = (tg->iops[rw] * throtl_slice * nr_slices)/HZ; in throtl_trim_slice()660 tg->slice_start[rw] += nr_slices * throtl_slice; in throtl_trim_slice()[all …]