Lines Matching refs:hrtimer
118 struct hrtimer { struct
121 enum hrtimer_restart (*function)(struct hrtimer *); argument
137 struct hrtimer timer; argument
164 struct hrtimer *running;
236 struct hrtimer *next_timer;
238 struct hrtimer *softirq_next_timer;
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()
260 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
266 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
272 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
278 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
283 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
288 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
292 static inline s64 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) in hrtimer_get_softexpires_tv64()
297 static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer) in hrtimer_get_expires_ns()
302 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) in hrtimer_expires_remaining()
307 static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) in hrtimer_cb_get_time()
312 static inline int hrtimer_is_hres_active(struct hrtimer *timer) in hrtimer_is_hres_active()
332 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted()
346 hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) in hrtimer_expires_remaining_adjusted()
363 void hrtimer_cancel_wait_running(const struct hrtimer *timer);
365 static inline void hrtimer_cancel_wait_running(struct hrtimer *timer) in hrtimer_cancel_wait_running()
374 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
380 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
386 extern void destroy_hrtimer_on_stack(struct hrtimer *timer);
388 static inline void hrtimer_init_on_stack(struct hrtimer *timer, in hrtimer_init_on_stack()
402 static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } in destroy_hrtimer_on_stack()
406 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
417 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start()
423 extern int hrtimer_cancel(struct hrtimer *timer);
424 extern int hrtimer_try_to_cancel(struct hrtimer *timer);
426 static inline void hrtimer_start_expires(struct hrtimer *timer, in hrtimer_start_expires()
440 static inline void hrtimer_restart(struct hrtimer *timer) in hrtimer_restart()
446 extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust);
452 static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) in hrtimer_get_remaining()
458 extern u64 hrtimer_next_event_without(const struct hrtimer *exclude);
460 extern bool hrtimer_active(const struct hrtimer *timer);
470 static inline bool hrtimer_is_queued(struct hrtimer *timer) in hrtimer_is_queued()
480 static inline int hrtimer_callback_running(struct hrtimer *timer) in hrtimer_callback_running()
487 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
505 static inline u64 hrtimer_forward_now(struct hrtimer *timer, in hrtimer_forward_now()