Lines Matching refs:ttime
990 bfqq->ttime = bic->saved_ttime; in bfq_bfqq_resume_state()
1571 bfqq->ttime.last_end_request + in bfq_bfqq_handle_idle_busy_switch()
2292 bic->saved_ttime = bfqq->ttime; in bfq_bfqq_save_state()
4396 bfqq->ttime.last_end_request = ktime_get_ns() + 1; in bfq_init_bfqq()
4513 struct bfq_ttime *ttime = &bfqq->ttime; in bfq_update_io_thinktime() local
4514 u64 elapsed = ktime_get_ns() - bfqq->ttime.last_end_request; in bfq_update_io_thinktime()
4518 ttime->ttime_samples = (7*bfqq->ttime.ttime_samples + 256) / 8; in bfq_update_io_thinktime()
4519 ttime->ttime_total = div_u64(7*ttime->ttime_total + 256*elapsed, 8); in bfq_update_io_thinktime()
4520 ttime->ttime_mean = div64_ul(ttime->ttime_total + 128, in bfq_update_io_thinktime()
4521 ttime->ttime_samples); in bfq_update_io_thinktime()
4560 (bfq_sample_valid(bfqq->ttime.ttime_samples) && in bfq_update_has_short_ttime()
4561 bfqq->ttime.ttime_mean > bfqd->bfq_slice_idle)) in bfq_update_has_short_ttime()
4839 bfqq->ttime.last_end_request = now_ns; in bfq_completed_request()