Lines Matching refs:now_ns
2051 static void bfq_update_io_intensity(struct bfq_queue *bfqq, u64 now_ns)
2053 u64 tot_io_time = now_ns - bfqq->io_start_time;
2057 now_ns - bfqq->ttime.last_end_request;
2076 bfqq->io_start_time = now_ns - (tot_io_time>>1);
2133 u64 now_ns)
2140 now_ns - bfqd->last_completion >= 4 * NSEC_PER_MSEC ||
2153 now_ns > bfqq->waker_detection_started +
2163 bfqq->waker_detection_started = now_ns;
2211 u64 now_ns = ktime_get_ns();
2222 bfq_check_waker(bfqd, bfqq, now_ns);
2292 bfq_update_io_intensity(bfqq, now_ns);
3593 u64 now_ns = ktime_get_ns();
3614 if (now_ns - bfqd->last_dispatch > 100*NSEC_PER_MSEC &&
3622 now_ns - bfqd->last_completion < BFQ_MIN_TT)
3635 bfqd->delta_from_first = now_ns - bfqd->first_dispatch;
3647 bfqd->last_dispatch = now_ns;
5594 u64 now_ns = ktime_get_ns();
5624 bfqq->ttime.last_end_request = now_ns + 1;
5628 bfqq->io_start_time = now_ns;
6351 u64 now_ns;
6373 now_ns = ktime_get_ns();
6375 bfqq->ttime.last_end_request = now_ns;
6381 delta_us = div_u64(now_ns - bfqd->last_completion, NSEC_PER_USEC);
6403 bfqd->last_completion = now_ns;