Lines Matching refs:jiffies
13 #include <linux/jiffies.h>
626 cfqq->slice_start = jiffies;
627 cfqq->slice_end = jiffies + slice;
629 cfq_log_cfqq(cfqd, cfqq, "set_slice=%lu", cfqq->slice_end - jiffies);
641 if (time_before(jiffies, cfqq->slice_end))
915 if (!cfqq->slice_start || cfqq->slice_start == jiffies) {
922 slice_used = max_t(unsigned, (jiffies - cfqq->dispatch_start),
925 slice_used = jiffies - cfqq->slice_start;
955 if (time_after(cfqd->workload_expires, jiffies)) {
957 - jiffies;
1219 rb_key += jiffies;
1227 rb_key = cfq_slice_offset(cfqd, cfqq) + jiffies;
1233 rb_key += __cfqq ? __cfqq->rb_key : jiffies;
1621 cfqq->dispatch_start = jiffies;
1667 cfqq->slice_resid = cfqq->slice_end - jiffies;
1948 (cfqq->slice_end - jiffies < cic->ttime_mean)) {
1965 mod_timer(&cfqd->idle_slice_timer, jiffies + sl);
2009 if (time_before(jiffies, rq_fifo_time(rq)))
2113 cfqd->workload_expires = jiffies + 1;
2124 cfqd->workload_expires = jiffies + 1;
2139 if (count && !time_after(jiffies, cfqd->workload_expires))
2182 cfqd->workload_expires = jiffies + slice;
2207 cfqd->workload_expires = jiffies + cfqg->saved_workload_slice;
2211 cfqd->workload_expires = jiffies - 1;
2363 if (time_after(jiffies + cfqd->cfq_slice_idle * cfqq->dispatched,
2427 unsigned long last_sync = jiffies - cfqd->last_delayed_sync;
2513 cfqq->slice_end = jiffies + 1;
2742 cic->last_end_request = jiffies;
3131 unsigned long elapsed = jiffies - cic->last_end_request;
3355 rq_set_fifo_time(rq, jiffies + cfqd->cfq_fifo_expire[rq_is_sync(rq)]);
3418 && (cfqq->slice_end - jiffies < cic->ttime_mean))
3428 if (cfqq->slice_end - jiffies == 1)
3441 now = jiffies;
3484 cfqq->slice_end = jiffies + extend_sl;
3938 cfqd->last_delayed_sync = jiffies - HZ;