Lines Matching refs:delta
61 ktime_t delta, nextp; in tick_do_update_jiffies64() local
104 delta = ktime_sub(now, tick_next_period); in tick_do_update_jiffies64()
105 if (unlikely(delta >= TICK_NSEC)) { in tick_do_update_jiffies64()
109 ticks += ktime_divns(delta, incr); in tick_do_update_jiffies64()
670 ktime_t delta; in update_ts_time_stats() local
673 delta = ktime_sub(now, ts->idle_entrytime); in update_ts_time_stats()
675 ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta); in update_ts_time_stats()
677 ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta); in update_ts_time_stats()
729 ktime_t delta = ktime_sub(now, ts->idle_entrytime); in get_cpu_idle_time_us() local
731 idle = ktime_add(ts->idle_sleeptime, delta); in get_cpu_idle_time_us()
770 ktime_t delta = ktime_sub(now, ts->idle_entrytime); in get_cpu_iowait_time_us() local
772 iowait = ktime_add(ts->iowait_sleeptime, delta); in get_cpu_iowait_time_us()
811 u64 basemono, next_tick, delta, expires; in tick_nohz_next_event() local
853 delta = next_tick - basemono; in tick_nohz_next_event()
854 if (delta <= (u64)TICK_NSEC) { in tick_nohz_next_event()
875 delta = timekeeping_max_deferment(); in tick_nohz_next_event()
878 delta = KTIME_MAX; in tick_nohz_next_event()
881 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
882 expires = basemono + delta; in tick_nohz_next_event()