Lines Matching refs:tvec_base
78 struct tvec_base { struct
102 struct tvec_base boot_tvec_bases; argument
105 static DEFINE_PER_CPU(struct tvec_base *, tvec_bases) = &boot_tvec_bases;
108 static inline unsigned int tbase_get_deferrable(struct tvec_base *base) in tbase_get_deferrable()
113 static inline unsigned int tbase_get_irqsafe(struct tvec_base *base) in tbase_get_irqsafe()
118 static inline struct tvec_base *tbase_get_base(struct tvec_base *base) in tbase_get_base()
120 return ((struct tvec_base *)((unsigned long)base & ~TIMER_FLAG_MASK)); in tbase_get_base()
124 timer_set_base(struct timer_list *timer, struct tvec_base *new_base) in timer_set_base()
128 timer->base = (struct tvec_base *)((unsigned long)(new_base) | flags); in timer_set_base()
357 static bool catchup_timer_jiffies(struct tvec_base *base) in catchup_timer_jiffies()
367 __internal_add_timer(struct tvec_base *base, struct timer_list *timer) in __internal_add_timer()
410 static void internal_add_timer(struct tvec_base *base, struct timer_list *timer) in internal_add_timer()
668 struct tvec_base *base = raw_cpu_read(tvec_bases); in do_init_timer()
713 detach_expired_timer(struct timer_list *timer, struct tvec_base *base) in detach_expired_timer()
722 static int detach_if_pending(struct timer_list *timer, struct tvec_base *base, in detach_if_pending()
751 static struct tvec_base *lock_timer_base(struct timer_list *timer, in lock_timer_base()
755 struct tvec_base *base; in lock_timer_base()
758 struct tvec_base *prelock_base = timer->base; in lock_timer_base()
775 struct tvec_base *base, *new_base; in __mod_timer()
969 struct tvec_base *base = per_cpu(tvec_bases, cpu); in add_timer_on()
995 struct tvec_base *base; in del_timer()
1021 struct tvec_base *base; in try_to_del_timer_sync()
1040 static DEFINE_PER_CPU(struct tvec_base, __tvec_bases);
1107 static int cascade(struct tvec_base *base, struct tvec *tv, int index) in cascade()
1180 static inline void __run_timers(struct tvec_base *base) in __run_timers()
1240 static unsigned long __next_timer_interrupt(struct tvec_base *base) in __next_timer_interrupt()
1360 struct tvec_base *base = __this_cpu_read(tvec_bases); in get_next_timer_interrupt()
1410 struct tvec_base *base = __this_cpu_read(tvec_bases); in run_timer_softirq()
1548 static void migrate_timer_list(struct tvec_base *new_base, struct list_head *head) in migrate_timer_list()
1563 struct tvec_base *old_base; in migrate_timers()
1564 struct tvec_base *new_base; in migrate_timers()
1619 static void __init init_timer_cpu(struct tvec_base *base, int cpu) in init_timer_cpu()
1644 struct tvec_base *base; in init_timer_cpus()
1663 BUILD_BUG_ON(__alignof__(struct tvec_base) & TIMER_FLAG_MASK); in init_timers()