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;
234 struct hrtimer *next_timer;
236 struct hrtimer *softirq_next_timer;
240 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
246 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
252 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns()
258 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
264 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
270 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
276 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
281 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
286 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
290 static inline s64 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) in hrtimer_get_softexpires_tv64()
295 static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer) in hrtimer_get_expires_ns()
300 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) in hrtimer_expires_remaining()
305 static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) in hrtimer_cb_get_time()
310 static inline int hrtimer_is_hres_active(struct hrtimer *timer) in hrtimer_is_hres_active()
334 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted()
348 hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) in hrtimer_expires_remaining_adjusted()
365 void hrtimer_cancel_wait_running(const struct hrtimer *timer);
367 static inline void hrtimer_cancel_wait_running(struct hrtimer *timer) in hrtimer_cancel_wait_running()
376 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
382 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
388 extern void destroy_hrtimer_on_stack(struct hrtimer *timer);
390 static inline void hrtimer_init_on_stack(struct hrtimer *timer, in hrtimer_init_on_stack()
404 static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } in destroy_hrtimer_on_stack()
408 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
419 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start()
425 extern int hrtimer_cancel(struct hrtimer *timer);
426 extern int hrtimer_try_to_cancel(struct hrtimer *timer);
428 static inline void hrtimer_start_expires(struct hrtimer *timer, in hrtimer_start_expires()
442 static inline void hrtimer_restart(struct hrtimer *timer) in hrtimer_restart()
448 extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust);
450 static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) in hrtimer_get_remaining()
456 extern u64 hrtimer_next_event_without(const struct hrtimer *exclude);
458 extern bool hrtimer_active(const struct hrtimer *timer);
468 static inline bool hrtimer_is_queued(struct hrtimer *timer) in hrtimer_is_queued()
478 static inline int hrtimer_callback_running(struct hrtimer *timer) in hrtimer_callback_running()
485 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
503 static inline u64 hrtimer_forward_now(struct hrtimer *timer, in hrtimer_forward_now()