Lines Matching refs:hrtimer
93 struct hrtimer timer;
97 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
103 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
109 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns()
115 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
121 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
127 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
133 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
138 static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer) in hrtimer_get_softexpires()
143 static inline s64 hrtimer_get_expires_tv64(const struct hrtimer *timer) in hrtimer_get_expires_tv64()
147 static inline s64 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) in hrtimer_get_softexpires_tv64()
152 static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer) in hrtimer_get_expires_ns()
157 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer) in hrtimer_expires_remaining()
162 static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer) in hrtimer_cb_get_time()
167 static inline int hrtimer_is_hres_active(struct hrtimer *timer) in hrtimer_is_hres_active()
187 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted()
201 hrtimer_expires_remaining_adjusted(const struct hrtimer *timer) in hrtimer_expires_remaining_adjusted()
218 void hrtimer_cancel_wait_running(const struct hrtimer *timer);
220 static inline void hrtimer_cancel_wait_running(struct hrtimer *timer) in hrtimer_cancel_wait_running()
229 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock,
235 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock,
241 extern void destroy_hrtimer_on_stack(struct hrtimer *timer);
243 static inline void hrtimer_init_on_stack(struct hrtimer *timer, in hrtimer_init_on_stack()
257 static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } in destroy_hrtimer_on_stack()
261 extern void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
272 static inline void hrtimer_start(struct hrtimer *timer, ktime_t tim, in hrtimer_start()
278 extern int hrtimer_cancel(struct hrtimer *timer);
279 extern int hrtimer_try_to_cancel(struct hrtimer *timer);
281 static inline void hrtimer_start_expires(struct hrtimer *timer, in hrtimer_start_expires()
295 static inline void hrtimer_restart(struct hrtimer *timer) in hrtimer_restart()
301 extern ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust);
307 static inline ktime_t hrtimer_get_remaining(const struct hrtimer *timer) in hrtimer_get_remaining()
313 extern u64 hrtimer_next_event_without(const struct hrtimer *exclude);
315 extern bool hrtimer_active(const struct hrtimer *timer);
325 static inline bool hrtimer_is_queued(struct hrtimer *timer) in hrtimer_is_queued()
335 static inline int hrtimer_callback_running(struct hrtimer *timer) in hrtimer_callback_running()
342 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
352 static inline u64 hrtimer_forward_now(struct hrtimer *timer, in hrtimer_forward_now()