Searched refs:slice_end (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/block/ |
H A D | blk-throttle.c | 143 unsigned long slice_end[2]; member in struct:throtl_grp 708 tg->slice_end[rw] = jiffies + throtl_slice; throtl_start_new_slice_with_credit() 712 tg->slice_end[rw], jiffies); throtl_start_new_slice_with_credit() 720 tg->slice_end[rw] = jiffies + throtl_slice; throtl_start_new_slice() 724 tg->slice_end[rw], jiffies); throtl_start_new_slice() 730 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); throtl_set_slice_end() 736 tg->slice_end[rw] = roundup(jiffy_end, throtl_slice); throtl_extend_slice() 740 tg->slice_end[rw], jiffies); throtl_extend_slice() 746 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) throtl_slice_used() 758 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); throtl_trim_slice() 769 * A bio has been dispatched. Also adjust slice_end. It might happen throtl_trim_slice() 771 * slice_end, but later limit was bumped up and bio was dispached throtl_trim_slice() 772 * sooner, then we need to reduce slice_end. A high bogus slice_end throtl_trim_slice() 808 tg->slice_start[rw], tg->slice_end[rw], jiffies); throtl_trim_slice() 937 if (time_before(tg->slice_end[rw], jiffies + throtl_slice)) tg_may_dispatch() 953 if (time_before(tg->slice_end[rw], jiffies + max_wait)) tg_may_dispatch()
|
H A D | cfq-iosched.c | 129 unsigned long slice_end; member in struct:cfq_queue 1051 cfqq->slice_end = jiffies + slice; cfq_set_prio_slice() 1053 cfq_log_cfqq(cfqd, cfqq, "set_slice=%lu", cfqq->slice_end - jiffies); cfq_set_prio_slice() 1057 * We need to wrap this check in cfq_cfqq_slice_new(), since ->slice_end 1065 if (time_before(jiffies, cfqq->slice_end)) cfq_slice_used() 2443 cfqq->slice_end = 0; __cfq_set_active_queue() 2490 cfqq->slice_resid = cfqq->slice_end - jiffies; __cfq_slice_expired() 2767 (cfqq->slice_end - jiffies < cic->ttime.ttime_mean)) { cfq_arm_slice_timer() 3112 (cfqq->slice_end - jiffies > jiffies - cfqq->slice_start))) { cfq_select_queue() 3194 cfqq->slice_end)) cfq_slice_used_soon() 3355 cfqq->slice_end = jiffies + 1; cfq_dispatch_requests() 3884 cfqq->slice_end = 0; cfq_preempt_queue() 4016 && (cfqq->slice_end - jiffies < cic->ttime.ttime_mean)) cfq_should_wait_busy() 4026 if (cfqq->slice_end - jiffies == 1) cfq_should_wait_busy() 4095 cfqq->slice_end = jiffies + extend_sl; cfq_completed_request()
|
Completed in 128 milliseconds