/linux-6.6.21/include/linux/ |
D | ktime.h | 29 typedef s64 ktime_t; typedef 38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() 71 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() 80 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns() 95 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() 111 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after() 123 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before() 129 extern s64 __ktime_divns(const ktime_t kt, s64 div); 130 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() 148 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() [all …]
|
D | timekeeping.h | 67 extern ktime_t ktime_get(void); 68 extern ktime_t ktime_get_with_offset(enum tk_offsets offs); 69 extern ktime_t ktime_get_coarse_with_offset(enum tk_offsets offs); 70 extern ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs); 71 extern ktime_t ktime_get_raw(void); 77 static inline ktime_t ktime_get_real(void) in ktime_get_real() 82 static inline ktime_t ktime_get_coarse_real(void) in ktime_get_coarse_real() 93 static inline ktime_t ktime_get_boottime(void) in ktime_get_boottime() 98 static inline ktime_t ktime_get_coarse_boottime(void) in ktime_get_coarse_boottime() 106 static inline ktime_t ktime_get_clocktai(void) in ktime_get_clocktai() [all …]
|
D | hrtimer.h | 120 ktime_t _softexpires; 166 ktime_t (*get_time)(void); 167 ktime_t offset; 235 ktime_t expires_next; 237 ktime_t softirq_expires_next; 242 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires() 248 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range() 254 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns() 266 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires() 278 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires() [all …]
|
D | alarmtimer.h | 45 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); 52 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)); 53 void alarm_start(struct alarm *alarm, ktime_t start); 54 void alarm_start_relative(struct alarm *alarm, ktime_t start); 59 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval); 60 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval); 61 ktime_t alarm_expires_remaining(const struct alarm *alarm);
|
D | timekeeper_internal.h | 41 ktime_t base; 98 ktime_t offs_real; 99 ktime_t offs_boot; 100 ktime_t offs_tai; 104 ktime_t next_leap_ktime;
|
D | time_namespace.h | 93 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, 96 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host() 159 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
|
D | dma-fence.h | 87 ktime_t timestamp; 279 void (*set_deadline)(struct dma_fence *fence, ktime_t deadline); 392 int dma_fence_signal_timestamp(struct dma_fence *fence, ktime_t timestamp); 394 ktime_t timestamp); 594 static inline ktime_t dma_fence_timestamp(struct dma_fence *fence) in dma_fence_timestamp() 640 void dma_fence_set_deadline(struct dma_fence *fence, ktime_t deadline); 643 struct dma_fence *dma_fence_allocate_private_stub(ktime_t timestamp);
|
/linux-6.6.21/fs/ocfs2/cluster/ |
D | tcp_internal.h | 159 ktime_t sc_tv_timer; 160 ktime_t sc_tv_data_ready; 161 ktime_t sc_tv_advance_start; 162 ktime_t sc_tv_advance_stop; 163 ktime_t sc_tv_func_start; 164 ktime_t sc_tv_func_stop; 167 ktime_t sc_tv_acquiry_total; 168 ktime_t sc_tv_send_total; 169 ktime_t sc_tv_status_total; 172 ktime_t sc_tv_process_total; [all …]
|
/linux-6.6.21/fs/ceph/ |
D | metric.h | 160 ktime_t latency_sum; 161 ktime_t latency_avg; 162 ktime_t latency_sq_sum; 163 ktime_t latency_min; 164 ktime_t latency_max; 213 ktime_t r_start, ktime_t r_end, 217 ktime_t r_start, ktime_t r_end, in ceph_update_read_metrics() 224 ktime_t r_start, ktime_t r_end, in ceph_update_write_metrics() 231 ktime_t r_start, ktime_t r_end, in ceph_update_metadata_metrics() 238 ktime_t r_start, ktime_t r_end, in ceph_update_copyfrom_metrics()
|
/linux-6.6.21/kernel/time/ |
D | tick-sched.h | 72 ktime_t last_tick; 73 ktime_t next_tick; 75 ktime_t idle_waketime; 79 ktime_t idle_entrytime; 87 ktime_t idle_expires; 92 ktime_t idle_exittime; 93 ktime_t idle_sleeptime; 94 ktime_t iowait_sleeptime;
|
D | alarmtimer.c | 47 ktime_t (*get_ktime)(void); 55 static ktime_t freezer_expires; 56 static ktime_t freezer_delta; 224 ktime_t alarm_expires_remaining(const struct alarm *alarm) in alarm_expires_remaining() 243 ktime_t min, now, expires; in alarmtimer_suspend() 265 ktime_t delta; in alarmtimer_suspend() 326 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)) in __alarm_init() argument 342 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)) in alarm_init() argument 355 void alarm_start(struct alarm *alarm, ktime_t start) in alarm_start() 375 void alarm_start_relative(struct alarm *alarm, ktime_t start) in alarm_start_relative() [all …]
|
D | tick-sched.c | 52 static ktime_t last_jiffies_update; 57 static void tick_do_update_jiffies64(ktime_t now) in tick_do_update_jiffies64() 60 ktime_t delta, nextp; in tick_do_update_jiffies64() 157 static ktime_t tick_init_jiffy_update(void) in tick_init_jiffy_update() 159 ktime_t period; in tick_init_jiffy_update() 185 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() 648 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() 661 static void tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) in tick_nohz_stop_idle() 663 ktime_t delta; in tick_nohz_stop_idle() 693 static u64 get_cpu_sleep_time_us(struct tick_sched *ts, ktime_t *sleeptime, in get_cpu_sleep_time_us() [all …]
|
D | hrtimer.c | 196 ktime_t expires; in hrtimer_check_target() 305 s64 __ktime_divns(const ktime_t kt, s64 div) in __ktime_divns() 329 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() 331 ktime_t res = ktime_add_unsafe(lhs, rhs); in ktime_add_safe() 504 static ktime_t __hrtimer_next_event_base(struct hrtimer_cpu_base *cpu_base, in __hrtimer_next_event_base() 507 ktime_t expires_next) in __hrtimer_next_event_base() 510 ktime_t expires; in __hrtimer_next_event_base() 570 static ktime_t 575 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event() 596 static ktime_t hrtimer_update_next_event(struct hrtimer_cpu_base *cpu_base) in hrtimer_update_next_event() [all …]
|
D | timekeeping.h | 7 extern ktime_t ktime_get_update_offsets_now(unsigned int *cwsseq, 8 ktime_t *offs_real, 9 ktime_t *offs_boot, 10 ktime_t *offs_tai);
|
D | posix-timers.h | 13 ktime_t (*clock_get_ktime)(const clockid_t which_clock); 25 s64 (*timer_forward)(struct k_itimer *timr, ktime_t now); 26 ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now); 28 void (*timer_arm)(struct k_itimer *timr, ktime_t expires,
|
D | tick-internal.h | 17 extern ktime_t tick_next_period; 56 ktime_t expires, bool force); 102 ktime_t nextevt); 103 extern int tick_program_event(ktime_t expires, int force); 116 ktime_t nextevt) { BUG(); } in tick_setup_oneshot() 118 static inline int tick_program_event(ktime_t expires, int force) { return 0; } in tick_program_event()
|
/linux-6.6.21/include/drm/ |
D | drm_vblank.h | 131 ktime_t time; 232 ktime_t *vblanktime); 233 int drm_crtc_next_vblank_start(struct drm_crtc *crtc, ktime_t *vblanktime); 240 ktime_t *now); 266 ktime_t *stime, 267 ktime_t *etime, 273 ktime_t *vblank_time, 278 ktime_t *vblank_time,
|
/linux-6.6.21/include/trace/events/ |
D | alarmtimer.h | 25 TP_PROTO(ktime_t expires, int flag), 47 TP_PROTO(struct alarm *alarm, ktime_t now), 75 TP_PROTO(struct alarm *alarm, ktime_t now), 82 TP_PROTO(struct alarm *alarm, ktime_t now), 89 TP_PROTO(struct alarm *alarm, ktime_t now),
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.h | 54 typedef ktime_t (*cqe_ts_to_ns)(struct mlx5_clock *, u64); 65 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time() 82 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time() 97 static inline ktime_t mlx5_timecounter_cyc2time(struct mlx5_clock *clock, in mlx5_timecounter_cyc2time() 103 static inline ktime_t mlx5_real_time_cyc2time(struct mlx5_clock *clock, in mlx5_real_time_cyc2time()
|
/linux-6.6.21/lib/ |
D | find_bit_benchmark.c | 39 ktime_t time; in test_find_first_bit() 56 ktime_t time; in test_find_first_and_bit() 74 ktime_t time; in test_find_next_bit() 88 ktime_t time; in test_find_next_zero_bit() 102 ktime_t time; in test_find_last_bit() 121 ktime_t time; in test_find_nth_bit() 138 ktime_t time; in test_find_next_and_bit()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 58 ktime_t pri_time; 59 ktime_t sched_in_time; 60 ktime_t sched_time; 61 ktime_t left_ts; 62 ktime_t allocated_ts; 72 ktime_t expire_time; 75 static void vgpu_update_timeslice(struct intel_vgpu *vgpu, ktime_t cur_time) in vgpu_update_timeslice() 77 ktime_t delta_ts; in vgpu_update_timeslice() 105 ktime_t fair_timeslice; in gvt_balance_timeslice() 138 ktime_t cur_time; in try_to_schedule_next_vgpu() [all …]
|
/linux-6.6.21/net/dccp/ccids/ |
D | ccid3.h | 94 ktime_t tx_t_last_win_count; 97 ktime_t tx_t_ld; 98 ktime_t tx_t_nom; 134 ktime_t rx_tstamp_last_feedback;
|
/linux-6.6.21/drivers/base/power/ |
D | domain_governor.c | 123 static void update_domain_next_wakeup(struct generic_pm_domain *genpd, ktime_t now) in update_domain_next_wakeup() 125 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup() 126 ktime_t next_wakeup; in update_domain_next_wakeup() 161 unsigned int state, ktime_t now) in next_wakeup_allows_state() 163 ktime_t domain_wakeup = genpd->gd->next_wakeup; in next_wakeup_allows_state() 265 static bool _default_power_down_ok(struct dev_pm_domain *pd, ktime_t now) in _default_power_down_ok() 346 ktime_t domain_wakeup, next_hrtimer; in cpu_power_down_ok() 347 ktime_t now = ktime_get(); in cpu_power_down_ok()
|
/linux-6.6.21/drivers/gpu/drm/lima/ |
D | lima_devfreq.h | 21 ktime_t busy_time; 22 ktime_t idle_time; 23 ktime_t time_last_update;
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.h | 22 ktime_t busy_time; 23 ktime_t idle_time; 24 ktime_t time_last_update;
|