Home
last modified time | relevance | path

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

12

/include/linux/
Dktime.h28 typedef s64 ktime_t; typedef
37 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set()
70 static inline ktime_t timespec_to_ktime(struct timespec ts) in timespec_to_ktime()
76 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime()
82 static inline ktime_t timeval_to_ktime(struct timeval tv) in timeval_to_ktime()
97 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns()
112 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare()
128 static inline bool ktime_after(const ktime_t cmp1, const ktime_t cmp2) in ktime_after()
140 static inline bool ktime_before(const ktime_t cmp1, const ktime_t cmp2) in ktime_before()
146 extern s64 __ktime_divns(const ktime_t kt, s64 div);
[all …]
Dtimekeeping.h67 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 …]
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);
Dhrtimer.h120 ktime_t _softexpires;
168 ktime_t (*get_time)(void);
169 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 …]
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;
Dpm_wakeup.h51 ktime_t total_time;
52 ktime_t max_time;
53 ktime_t last_time;
54 ktime_t start_prevent_time;
55 ktime_t prevent_sleep_time;
Dtick.h133 extern ktime_t tick_nohz_get_next_hrtimer(void);
134 extern ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next);
157 static inline ktime_t tick_nohz_get_next_hrtimer(void) in tick_nohz_get_next_hrtimer()
162 static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) in tick_nohz_get_sleep_length()
Dfutex.h78 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
86 ktime_t *timeout, u32 __user *uaddr2, in do_futex()
Drtc.h26 ktime_t rtc_tm_to_ktime(struct rtc_time tm);
27 struct rtc_time rtc_ktime_to_tm(ktime_t kt);
91 ktime_t period;
207 ktime_t expires, ktime_t period);
Dclockchips.h103 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *);
104 ktime_t next_event;
Dtimerqueue.h11 ktime_t expires;
Diopoll.h38 ktime_t __timeout = ktime_add_us(ktime_get(), __timeout_us); \
76 ktime_t __timeout = ktime_add_us(ktime_get(), __timeout_us); \
Dpm_domain.h86 ktime_t idle_time;
135 ktime_t on_time;
136 ktime_t accounting_time;
Dinput.h203 ktime_t timestamp[INPUT_CLK_MAX];
408 void input_set_timestamp(struct input_dev *dev, ktime_t timestamp);
409 ktime_t *input_get_timestamp(struct input_dev *dev);
Ddim.h54 ktime_t time;
Dfreezer.h234 static inline int freezable_schedule_hrtimeout_range(ktime_t *expires, in freezable_schedule_hrtimeout_range()
/include/trace/events/
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),
Drtc.h167 __field(ktime_t, expires)
168 __field(ktime_t, period)
/include/drm/
Ddrm_vblank.h118 ktime_t time;
200 ktime_t *vblanktime);
207 ktime_t *now);
223 ktime_t *vblank_time,
Ddrm_drv.h374 ktime_t *stime, ktime_t *etime,
422 ktime_t *vblank_time,
/include/media/
Dcec.h291 u8 error_cnt, ktime_t ts);
306 u8 status, ktime_t ts);
315 struct cec_msg *msg, ktime_t ts);
333 bool dropped_events, ktime_t ts);
343 void cec_queue_pin_hpd_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
353 void cec_queue_pin_5v_event(struct cec_adapter *adap, bool is_high, ktime_t ts);
Ddvb_demux.h147 ktime_t timeout;
236 ktime_t speed_last_time; /* for TS speed check */
/include/linux/sunrpc/
Dmetrics.h66 ktime_t om_queue, /* queued for xmit */
/include/net/
Daf_rxrpc.h70 ktime_t *);
Dinet_frag.h89 ktime_t stamp;

12