Lines Matching refs:hrtimer
117 struct hrtimer { struct
120 enum hrtimer_restart (*function)(struct hrtimer *); argument
136 struct hrtimer timer; argument
163 struct hrtimer *running;
233 struct hrtimer *next_timer;
235 struct hrtimer *softirq_next_timer;
239 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
245 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
251 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns()
257 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
263 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
269 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
275 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
280 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
285 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
289 static inline s64 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) in hrtimer_get_softexpires_tv64()
294 static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer) in hrtimer_get_expires_ns()
299 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) in hrtimer_expires_remaining()
304 static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) in hrtimer_cb_get_time()
309 static inline int hrtimer_is_hres_active(struct hrtimer *timer) in hrtimer_is_hres_active()
333 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted()
347 hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) in hrtimer_expires_remaining_adjusted()
364 void hrtimer_cancel_wait_running(const struct hrtimer *timer);
366 static inline void hrtimer_cancel_wait_running(struct hrtimer *timer) in hrtimer_cancel_wait_running()
375 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
381 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
387 extern void destroy_hrtimer_on_stack(struct hrtimer *timer);
389 static inline void hrtimer_init_on_stack(struct hrtimer *timer, in hrtimer_init_on_stack()
403 static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } in destroy_hrtimer_on_stack()
407 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
418 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start()
424 extern int hrtimer_cancel(struct hrtimer *timer);
425 extern int hrtimer_try_to_cancel(struct hrtimer *timer);
427 static inline void hrtimer_start_expires(struct hrtimer *timer, in hrtimer_start_expires()
441 static inline void hrtimer_restart(struct hrtimer *timer) in hrtimer_restart()
447 extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust);
449 static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) in hrtimer_get_remaining()
455 extern u64 hrtimer_next_event_without(const struct hrtimer *exclude);
457 extern bool hrtimer_active(const struct hrtimer *timer);
462 static inline int hrtimer_is_queued(struct hrtimer *timer) in hrtimer_is_queued()
471 static inline int hrtimer_callback_running(struct hrtimer *timer) in hrtimer_callback_running()
478 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
496 static inline u64 hrtimer_forward_now(struct hrtimer *timer, in hrtimer_forward_now()