Home
last modified time | relevance | path

Searched refs:ktime_t (Results 1 – 25 of 692) sorted by relevance

12345678910>>...28

/linux-6.3-rc2/include/linux/
A Dktime.h29 typedef s64 ktime_t; typedef
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()
169 static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) in ktime_us_delta()
174 static inline s64 ktime_ms_delta(const ktime_t later, const ktime_t earlier) in ktime_ms_delta()
179 static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec) in ktime_add_us()
184 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms()
189 static inline ktime_t ktime_sub_us(const ktime_t kt, const u64 usec) in ktime_sub_us()
194 static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) in ktime_sub_ms()
[all …]
A Dtimekeeping.h67 extern ktime_t ktime_get(void);
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()
116 static inline ktime_t ktime_get_coarse(void) in ktime_get_coarse()
147 static inline ktime_t ktime_mono_to_real(ktime_t mono) in ktime_mono_to_real()
249 ktime_t real;
250 ktime_t raw;
264 ktime_t device;
265 ktime_t sys_realtime;
[all …]
A Dhrtimer.h120 ktime_t _softexpires;
166 ktime_t (*get_time)(void);
167 ktime_t offset;
233 ktime_t expires_next;
235 ktime_t softirq_expires_next;
246 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
329 static inline ktime_t
343 static inline ktime_t
428 ktime_t soft, hard; in hrtimer_start_expires()
485 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
[all …]
A Dalarmtimer.h45 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);
A Dtimekeeper_internal.h41 ktime_t base;
98 ktime_t offs_real;
99 ktime_t offs_boot;
100 ktime_t offs_tai;
104 ktime_t next_leap_ktime;
A Dtime_namespace.h94 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim,
97 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
160 static inline ktime_t timens_ktime_to_host(clockid_t clockid, ktime_t tim) in timens_ktime_to_host()
/linux-6.3-rc2/fs/ocfs2/cluster/
A Dtcp_internal.h159 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;
168 ktime_t sc_tv_send_total;
169 ktime_t sc_tv_status_total;
216 ktime_t st_sock_time;
217 ktime_t st_send_time;
[all …]
/linux-6.3-rc2/fs/ceph/
A Dmetric.h160 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.3-rc2/kernel/time/
A Dtick-sched.h66 ktime_t last_tick;
67 ktime_t next_tick;
71 ktime_t idle_entrytime;
72 ktime_t idle_waketime;
73 ktime_t idle_exittime;
74 ktime_t idle_sleeptime;
75 ktime_t iowait_sleeptime;
80 ktime_t idle_expires;
A Dalarmtimer.c47 ktime_t (*get_ktime)(void);
56 static ktime_t freezer_delta;
266 ktime_t delta; in alarmtimer_suspend()
441 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward()
444 ktime_t delta; in alarm_forward()
511 ktime_t delta; in alarmtimer_freezerset()
561 ktime_t now) in alarm_handle_timer()
620 static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) in alarm_timer_remaining()
753 ktime_t now) in alarmtimer_nsleep_wakeup()
797 ktime_t rem; in alarmtimer_do_nsleep()
[all …]
A Dtick-sched.c60 ktime_t delta, nextp; in tick_do_update_jiffies64()
159 ktime_t period; in tick_init_jiffy_update()
646 ktime_t delta; in update_ts_time_stats()
694 ktime_t now, idle; in get_cpu_idle_time_us()
980 ktime_t now) in __tick_nohz_full_update_tick()
1089 ktime_t expires; in __tick_nohz_idle_stop_tick()
1219 ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) in tick_nohz_get_sleep_length()
1278 ktime_t now) in tick_nohz_account_idle_time()
1331 ktime_t now; in tick_nohz_idle_exit()
1398 ktime_t next; in tick_nohz_switch_to_nohz()
[all …]
A Dhrtimer.c195 ktime_t expires; in hrtimer_check_target()
327 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe()
508 ktime_t expires; in __hrtimer_next_event_base()
568 static ktime_t
874 ktime_t expires; in update_needs_ipi()
1040 ktime_t delta; in hrtimer_forward()
1190 ktime_t expires; in hrtimer_update_softirq_timer()
1460 ktime_t rem; in __hrtimer_get_remaining()
1725 ktime_t basenow; in __hrtimer_run_queues()
1760 ktime_t now; in hrtimer_run_softirq()
[all …]
A Dtimekeeping.h7 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);
A Dposix-timers.h13 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,
A Dtick-internal.h17 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.3-rc2/include/drm/
A Ddrm_vblank.h131 ktime_t time;
232 ktime_t *vblanktime);
239 ktime_t *now);
265 ktime_t *stime,
266 ktime_t *etime,
272 ktime_t *vblank_time,
277 ktime_t *vblank_time,
/linux-6.3-rc2/include/trace/events/
A Dalarmtimer.h25 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.h54 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.3-rc2/lib/
A Dfind_bit_benchmark.c39 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.3-rc2/drivers/gpu/drm/i915/gvt/
A Dsched_policy.c58 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;
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()
243 ktime_t cur_time; in intel_gvt_schedule()
[all …]
/linux-6.3-rc2/net/dccp/ccids/
A Dccid3.h94 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.3-rc2/drivers/base/power/
A Ddomain_governor.c123 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()
A Dwakeup_stats.c42 ktime_t active_time = in active_time_ms_show()
53 ktime_t active_time; in total_time_ms_show()
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
69 ktime_t active_time; in max_time_ms_show()
70 ktime_t max_time = ws->max_time; in max_time_ms_show()
105 ktime_t prevent_sleep_time = ws->prevent_sleep_time; in prevent_suspend_time_ms_show()
/linux-6.3-rc2/drivers/gpu/drm/lima/
A Dlima_devfreq.h21 ktime_t busy_time;
22 ktime_t idle_time;
23 ktime_t time_last_update;
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.h22 ktime_t busy_time;
23 ktime_t idle_time;
24 ktime_t time_last_update;

Completed in 40 milliseconds

12345678910>>...28