Lines Matching refs:hrtimer
155 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
188 static bool hrtimer_suitable_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base, in hrtimer_suitable_target()
243 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
294 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
362 return ACCESS_PRIVATE((struct hrtimer *)addr, function); in hrtimer_debug_hint()
371 struct hrtimer *timer = addr; in hrtimer_fixup_init()
405 struct hrtimer *timer = addr; in hrtimer_fixup_free()
425 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
430 static inline void debug_hrtimer_init_on_stack(struct hrtimer *timer) in debug_hrtimer_init_on_stack()
435 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
441 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
446 void destroy_hrtimer_on_stack(struct hrtimer *timer) in destroy_hrtimer_on_stack()
454 static inline void debug_hrtimer_init(struct hrtimer *timer) { } in debug_hrtimer_init()
455 static inline void debug_hrtimer_init_on_stack(struct hrtimer *timer) { } in debug_hrtimer_init_on_stack()
456 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
458 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) { } in debug_hrtimer_deactivate()
461 static inline void debug_setup(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode) in debug_setup()
467 static inline void debug_setup_on_stack(struct hrtimer *timer, clockid_t clockid, in debug_setup_on_stack()
474 static inline void debug_activate(struct hrtimer *timer, in debug_activate()
481 static inline void debug_deactivate(struct hrtimer *timer) in debug_deactivate()
505 const struct hrtimer *exclude, in __hrtimer_next_event_base()
514 struct hrtimer *timer; in __hrtimer_next_event_base()
517 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base()
524 timer = container_of(next, struct hrtimer, node); in __hrtimer_next_event_base()
574 struct hrtimer *next_timer = NULL; in __hrtimer_get_next_event()
653 struct hrtimer *next_timer, in __hrtimer_reprogram()
803 static void hrtimer_reprogram(struct hrtimer *timer, bool reprogram) in hrtimer_reprogram()
1010 void unlock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in unlock_hrtimer_base()
1035 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward()
1078 static bool enqueue_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, in enqueue_hrtimer()
1102 static void __remove_hrtimer(struct hrtimer *timer, in __remove_hrtimer()
1133 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, in remove_hrtimer()
1169 static inline ktime_t hrtimer_update_lowres(struct hrtimer *timer, ktime_t tim, in hrtimer_update_lowres()
1210 static int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in __hrtimer_start_range_ns()
1304 void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, in hrtimer_start_range_ns()
1340 int hrtimer_try_to_cancel(struct hrtimer *timer) in hrtimer_try_to_cancel()
1431 void hrtimer_cancel_wait_running(const struct hrtimer *timer) in hrtimer_cancel_wait_running()
1476 int hrtimer_cancel(struct hrtimer *timer) in hrtimer_cancel()
1495 ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust) in __hrtimer_get_remaining()
1540 u64 hrtimer_next_event_without(const struct hrtimer *exclude) in hrtimer_next_event_without()
1601 ktime_t hrtimer_cb_get_time(const struct hrtimer *timer) in hrtimer_cb_get_time()
1607 static void __hrtimer_setup(struct hrtimer *timer, in __hrtimer_setup()
1608 enum hrtimer_restart (*function)(struct hrtimer *), in __hrtimer_setup() argument
1624 memset(timer, 0, sizeof(struct hrtimer)); in __hrtimer_setup()
1662 void hrtimer_setup(struct hrtimer *timer, enum hrtimer_restart (*function)(struct hrtimer *), in hrtimer_setup() argument
1680 void hrtimer_setup_on_stack(struct hrtimer *timer, in hrtimer_setup_on_stack()
1681 enum hrtimer_restart (*function)(struct hrtimer *), in hrtimer_setup_on_stack() argument
1696 bool hrtimer_active(const struct hrtimer *timer) in hrtimer_active()
1736 struct hrtimer *timer, ktime_t *now, in __run_hrtimer()
1739 enum hrtimer_restart (*fn)(struct hrtimer *); in __run_hrtimer()
1822 struct hrtimer *timer; in __hrtimer_run_queues()
1824 timer = container_of(node, struct hrtimer, node); in __hrtimer_run_queues()
2005 static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer) in hrtimer_wakeup()
2267 struct hrtimer *timer; in migrate_hrtimer_list()
2271 timer = container_of(node, struct hrtimer, node); in migrate_hrtimer_list()