Lines Matching defs:now
491 struct bio_issue *issue, u64 now,
501 now = __bio_issue_time(now);
503 if (now <= start)
506 req_time = now - start;
515 blkcg_add_delay(lat_to_blkg(iolat), now, sub - req_time);
525 static void iolatency_check_latencies(struct iolatency_grp *iolat, u64 now)
565 if ((lat_info->last_scale_event >= now ||
566 now - lat_info->last_scale_event < BLKIOLATENCY_MIN_ADJUST_TIME))
575 lat_info->last_scale_event = now;
580 lat_info->last_scale_event = now;
599 u64 now;
614 now = ktime_to_ns(ktime_get());
630 iolatency_record_time(iolat, &bio->bi_issue, now,
633 if (now > window_start &&
634 (now - window_start) >= iolat->cur_win_nsec) {
636 window_start, now) == window_start)
637 iolatency_check_latencies(iolat, now);
666 u64 now = ktime_to_ns(ktime_get());
694 if (lat_info->last_scale_event >= now)
711 if (now - lat_info->last_scale_event >=
978 u64 now = ktime_to_ns(ktime_get());
1000 atomic64_set(&iolat->window_start, now);