Searched refs:slice_start (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | blk-throttle.c | 85 unsigned long slice_start[2]; member 432 tg->slice_start[rw] = jiffies; in throtl_start_new_slice() 435 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice() 450 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice() 458 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used() 471 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice() 491 time_elapsed = jiffies - tg->slice_start[rw]; in throtl_trim_slice() 516 tg->slice_start[rw] += nr_slices * throtl_slice; in throtl_trim_slice() 521 tg->slice_start[rw], tg->slice_end[rw], jiffies); in throtl_trim_slice() 532 jiffy_elapsed = jiffy_elapsed_rnd = jiffies - tg->slice_start[rw]; in tg_with_in_iops_limit() [all …]
|
D | cfq-iosched.c | 128 unsigned long slice_start; member 1050 cfqq->slice_start = jiffies; in cfq_set_prio_slice() 1421 if (!cfqq->slice_start || cfqq->slice_start == jiffies) { in cfq_cfqq_slice_usage() 1431 slice_used = jiffies - cfqq->slice_start; in cfq_cfqq_slice_usage() 1436 if (time_after(cfqq->slice_start, cfqq->dispatch_start)) in cfq_cfqq_slice_usage() 1437 *unaccounted_time += cfqq->slice_start - in cfq_cfqq_slice_usage() 2420 cfqq->slice_start = 0; in __cfq_set_active_queue() 3092 (cfqq->slice_end - jiffies > jiffies - cfqq->slice_start))) { in cfq_select_queue()
|