Lines Matching refs:hrtimer
163 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
196 static bool hrtimer_suitable_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base, in hrtimer_suitable_target()
251 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
302 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
370 return ACCESS_PRIVATE((struct hrtimer *)addr, function); in hrtimer_debug_hint()
379 struct hrtimer *timer = addr; in hrtimer_fixup_init()
413 struct hrtimer *timer = addr; in hrtimer_fixup_free()
433 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
438 static inline void debug_hrtimer_init_on_stack(struct hrtimer *timer) in debug_hrtimer_init_on_stack()
443 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
449 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
454 void destroy_hrtimer_on_stack(struct hrtimer *timer) in destroy_hrtimer_on_stack()
462 static inline void debug_hrtimer_init(struct hrtimer *timer) { } in debug_hrtimer_init()
463 static inline void debug_hrtimer_init_on_stack(struct hrtimer *timer) { } in debug_hrtimer_init_on_stack()
464 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
466 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) { } in debug_hrtimer_deactivate()
469 static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode) in debug_setup()
475 static inline void debug_setup_on_stack(struct hrtimer *timer, clockid_t clockid, in debug_setup_on_stack()
482 static inline void debug_activate(struct hrtimer *timer, in debug_activate()
489 static inline void debug_deactivate(struct hrtimer *timer) in debug_deactivate()
513 const struct hrtimer *exclude, in __hrtimer_next_event_base()
522 struct hrtimer *timer; in __hrtimer_next_event_base()
525 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base()
532 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base()
582 struct hrtimer *next_timer = NULL; in __hrtimer_get_next_event()
661 struct hrtimer *next_timer, in __hrtimer_reprogram()
811 static void hrtimer_reprogram(struct hrtimer *timer, bool reprogram) in hrtimer_reprogram()
1018 void unlock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in unlock_hrtimer_base()
1043 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward()
1086 static bool enqueue_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, in enqueue_hrtimer()
1110 static void __remove_hrtimer(struct hrtimer *timer, in __remove_hrtimer()
1141 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, in remove_hrtimer()
1177 static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, in hrtimer_update_lowres()
1218 static int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in __hrtimer_start_range_ns()
1312 void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in hrtimer_start_range_ns()
1348 int hrtimer_try_to_cancel(struct hrtimer *timer) in hrtimer_try_to_cancel()
1439 void hrtimer_cancel_wait_running(const struct hrtimer *timer) in hrtimer_cancel_wait_running()
1484 int hrtimer_cancel(struct hrtimer *timer) in hrtimer_cancel()
1503 ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust) in __hrtimer_get_remaining()
1548 u64 hrtimer_next_event_without(const struct hrtimer *exclude) in hrtimer_next_event_without()
1609 ktime_t hrtimer_cb_get_time(const struct hrtimer *timer) in hrtimer_cb_get_time()
1615 static void __hrtimer_setup(struct hrtimer *timer, in __hrtimer_setup()
1616 enum hrtimer_restart (*function)(struct hrtimer *), in __hrtimer_setup() argument
1632 memset(timer, 0, sizeof(struct hrtimer)); in __hrtimer_setup()
1670 void hrtimer_setup(struct hrtimer *timer, enum hrtimer_restart (*function)(struct hrtimer *), in hrtimer_setup() argument
1688 void hrtimer_setup_on_stack(struct hrtimer *timer, in hrtimer_setup_on_stack()
1689 enum hrtimer_restart (*function)(struct hrtimer *), in hrtimer_setup_on_stack() argument
1704 bool hrtimer_active(const struct hrtimer *timer) in hrtimer_active()
1744 struct hrtimer *timer, ktime_t *now, in __run_hrtimer()
1747 enum hrtimer_restart (*fn)(struct hrtimer *); in __run_hrtimer()
1830 struct hrtimer *timer; in __hrtimer_run_queues()
1832 timer = container_of(node, struct hrtimer, node); in __hrtimer_run_queues()
2013 static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer) in hrtimer_wakeup()
2275 struct hrtimer *timer; in migrate_hrtimer_list()
2279 timer = container_of(node, struct hrtimer, node); in migrate_hrtimer_list()