Home
last modified time | relevance | path

Searched refs:base (Results 1 – 11 of 11) sorted by relevance

/kernel/
Dtimer.c92 static inline unsigned int tbase_get_deferrable(struct tvec_base *base) in tbase_get_deferrable() argument
94 return ((unsigned int)(unsigned long)base & TBASE_DEFERRABLE_FLAG); in tbase_get_deferrable()
97 static inline struct tvec_base *tbase_get_base(struct tvec_base *base) in tbase_get_base() argument
99 return ((struct tvec_base *)((unsigned long)base & ~TBASE_DEFERRABLE_FLAG)); in tbase_get_base()
104 timer->base = ((struct tvec_base *)((unsigned long)(timer->base) | in timer_set_deferrable()
111 timer->base = (struct tvec_base *)((unsigned long)(new_base) | in timer_set_base()
112 tbase_get_deferrable(timer->base)); in timer_set_base()
316 static inline void set_running_timer(struct tvec_base *base, in set_running_timer() argument
320 base->running_timer = timer; in set_running_timer()
324 static void internal_add_timer(struct tvec_base *base, struct timer_list *timer) in internal_add_timer() argument
[all …]
Dhrtimer.c136 static void hrtimer_get_softirq_time(struct hrtimer_cpu_base *base) in hrtimer_get_softirq_time() argument
150 base->clock_base[CLOCK_REALTIME].softirq_time = xtim; in hrtimer_get_softirq_time()
151 base->clock_base[CLOCK_MONOTONIC].softirq_time = in hrtimer_get_softirq_time()
177 struct hrtimer_clock_base *base; in lock_hrtimer_base() local
180 base = timer->base; in lock_hrtimer_base()
181 if (likely(base != NULL)) { in lock_hrtimer_base()
182 spin_lock_irqsave(&base->cpu_base->lock, *flags); in lock_hrtimer_base()
183 if (likely(base == timer->base)) in lock_hrtimer_base()
184 return base; in lock_hrtimer_base()
186 spin_unlock_irqrestore(&base->cpu_base->lock, *flags); in lock_hrtimer_base()
[all …]
Dfutex_compat.c36 compat_uptr_t base = ptr_to_compat(entry); in futex_uaddr() local
37 void __user *uaddr = compat_ptr(base + futex_offset); in futex_uaddr()
Dposix-timers.c280 timer->base->get_time(), in schedule_next_timer()
638 now = timer->base->get_time(); in common_timer_get()
751 hrtimer_add_expires(timer, timer->base->get_time()); in common_timer_set()
Dsys.c1223 int base, max, stride; in groups_sort() local
1232 for (base = 0; base < max; base++) { in groups_sort()
1233 int left = base; in groups_sort()
Dlockdep.c1591 return lock_classes + chain_hlocks[chain->base + i]; in lock_chain_get_class()
1675 chain->base = cn; in lookup_chain_cache()
1678 chain_hlocks[chain->base + j] = lock_id; in lookup_chain_cache()
1680 chain_hlocks[chain->base + j] = class - lock_classes; in lookup_chain_cache()
Dmodule.c183 #define symversion(base, idx) NULL argument
185 #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL) argument
Dsignal.c451 hrtimer_forward(tmr, tmr->base->get_time(), in dequeue_signal()
Dsched.c1089 ktime_t time = ktime_add_ns(timer->base->get_time(), delay); in hrtick_start()
/kernel/time/
Dtimer_list.c77 print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base, in print_active_timers() argument
87 spin_lock_irqsave(&base->cpu_base->lock, flags); in print_active_timers()
89 curr = base->first; in print_active_timers()
103 spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers()
109 spin_unlock_irqrestore(&base->cpu_base->lock, flags); in print_active_timers()
113 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument
115 SEQ_printf(m, " .base: %p\n", base); in print_base()
117 base->index); in print_base()
119 (unsigned long long)ktime_to_ns(base->resolution)); in print_base()
121 print_name_offset(m, base->get_time); in print_base()
[all …]
Dtick-sched.c721 if (ts->sched_timer.base) in tick_cancel_sched_timer()