Searched refs:ttime (Results 1 – 3 of 3) sorted by relevance
100 struct cfq_ttime ttime; member104 .ttime = {.last_end_request = ktime_get_ns(),},}306 struct cfq_ttime ttime; member318 struct cfq_ttime ttime; member822 struct cfq_ttime *ttime, bool group_idle) in cfq_io_thinktime_big() argument825 if (!sample_valid(ttime->ttime_samples)) in cfq_io_thinktime_big()831 return ttime->ttime_mean > slice; in cfq_io_thinktime_big()1524 cfqg->ttime.last_end_request = ktime_get_ns(); in cfq_init_cfqg_base()2900 !cfq_io_thinktime_big(cfqd, &st->ttime, false)) in cfq_should_idle()2955 if (sample_valid(cic->ttime.ttime_samples) && in cfq_arm_slice_timer()[all …]
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() local4514 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()[all …]
287 struct bfq_ttime ttime; member