Lines Matching refs:hrtimer
110 struct hrtimer { struct
113 enum hrtimer_restart (*function)(struct hrtimer *); argument
128 struct hrtimer timer; argument
155 struct hrtimer *running;
217 struct hrtimer *next_timer;
219 struct hrtimer *softirq_next_timer;
223 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
229 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
235 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns()
241 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
247 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
253 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
259 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
264 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
269 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
273 static inline s64 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) in hrtimer_get_softexpires_tv64()
278 static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer) in hrtimer_get_expires_ns()
283 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) in hrtimer_expires_remaining()
288 static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) in hrtimer_cb_get_time()
293 static inline int hrtimer_is_hres_active(struct hrtimer *timer) in hrtimer_is_hres_active()
331 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted()
345 hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) in hrtimer_expires_remaining_adjusted()
365 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
369 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
372 extern void destroy_hrtimer_on_stack(struct hrtimer *timer);
374 static inline void hrtimer_init_on_stack(struct hrtimer *timer, in hrtimer_init_on_stack()
380 static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } in destroy_hrtimer_on_stack()
384 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
395 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start()
401 extern int hrtimer_cancel(struct hrtimer *timer);
402 extern int hrtimer_try_to_cancel(struct hrtimer *timer);
404 static inline void hrtimer_start_expires(struct hrtimer *timer, in hrtimer_start_expires()
415 static inline void hrtimer_restart(struct hrtimer *timer) in hrtimer_restart()
421 extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust);
423 static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) in hrtimer_get_remaining()
429 extern u64 hrtimer_next_event_without(const struct hrtimer *exclude);
431 extern bool hrtimer_active(const struct hrtimer *timer);
436 static inline int hrtimer_is_queued(struct hrtimer *timer) in hrtimer_is_queued()
445 static inline int hrtimer_callback_running(struct hrtimer *timer) in hrtimer_callback_running()
452 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
470 static inline u64 hrtimer_forward_now(struct hrtimer *timer, in hrtimer_forward_now()