Searched refs:throtl_slice (Results 1 – 1 of 1) sorted by relevance
22 static unsigned long throtl_slice = HZ/10; /* 100 ms */ variable708 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice_with_credit()720 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice()730 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_set_slice_end()736 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); in throtl_extend_slice()776 throtl_set_slice_end(tg, rw, jiffies + throtl_slice); in throtl_trim_slice()780 nr_slices = time_elapsed / throtl_slice; in throtl_trim_slice()784 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice()788 io_trim = (tg->iops[rw] * throtl_slice * nr_slices)/HZ; in throtl_trim_slice()803 tg->slice_start[rw] += nr_slices * throtl_slice; in throtl_trim_slice()[all …]