Searched refs:now_ns (Results 1 – 2 of 2) sorted by relevance
1946 static void bfq_update_io_intensity(struct bfq_queue *bfqq, u64 now_ns) in bfq_update_io_intensity() argument1948 u64 tot_io_time = now_ns - bfqq->io_start_time; in bfq_update_io_intensity()1952 now_ns - bfqq->ttime.last_end_request; in bfq_update_io_intensity()1971 bfqq->io_start_time = now_ns - (tot_io_time>>1); in bfq_update_io_intensity()2029 u64 now_ns) in bfq_check_waker() argument2034 now_ns - bfqd->last_completion >= 4 * NSEC_PER_MSEC) in bfq_check_waker()2088 u64 now_ns = ktime_get_ns(); in bfq_add_request() local2095 bfq_check_waker(bfqd, bfqq, now_ns); in bfq_add_request()2165 bfq_update_io_intensity(bfqq, now_ns); in bfq_add_request()3446 u64 now_ns = ktime_get_ns(); in bfq_update_peak_rate() local[all …]
561 u64 now_ns; member814 u64 now_ns; in ioc_autop_idx() local834 now_ns = ktime_get_ns(); in ioc_autop_idx()838 ioc->autop_too_fast_at = now_ns; in ioc_autop_idx()839 if (now_ns - ioc->autop_too_fast_at >= AUTOP_CYCLE_NSEC) in ioc_autop_idx()847 ioc->autop_too_slow_at = now_ns; in ioc_autop_idx()848 if (now_ns - ioc->autop_too_slow_at >= AUTOP_CYCLE_NSEC) in ioc_autop_idx()1036 now->now_ns = ktime_get(); in ioc_now()1037 now->now = ktime_to_us(now->now_ns); in ioc_now()1546 expires = now->now_ns + in iocg_kick_waitq()