Home
last modified time | relevance | path

Searched refs:__this_cpu_read (Results 1 – 25 of 57) sorted by relevance

123

/linux-3.4.99/kernel/
Dwatchdog.c181 unsigned long hrint = __this_cpu_read(hrtimer_interrupts); in is_hardlockup()
183 if (__this_cpu_read(hrtimer_interrupts_saved) == hrint) in is_hardlockup()
220 if (__this_cpu_read(watchdog_nmi_touch) == true) { in watchdog_overflow_callback()
235 if (__this_cpu_read(hard_watchdog_warn) == true) in watchdog_overflow_callback()
261 unsigned long touch_ts = __this_cpu_read(watchdog_touch_ts); in watchdog_timer_fn()
269 wake_up_process(__this_cpu_read(softlockup_watchdog)); in watchdog_timer_fn()
275 if (unlikely(__this_cpu_read(softlockup_touch_sync))) { in watchdog_timer_fn()
296 if (__this_cpu_read(soft_watchdog_warn) == true) in watchdog_timer_fn()
Dsoftirq.c73 struct task_struct *tsk = __this_cpu_read(ksoftirqd); in wakeup_softirqd()
407 *__this_cpu_read(tasklet_vec.tail) = t; in __tasklet_schedule()
421 *__this_cpu_read(tasklet_hi_vec.tail) = t; in __tasklet_hi_schedule()
433 t->next = __this_cpu_read(tasklet_hi_vec.head); in __tasklet_hi_schedule_first()
445 list = __this_cpu_read(tasklet_vec.head); in tasklet_action()
468 *__this_cpu_read(tasklet_vec.tail) = t; in tasklet_action()
480 list = __this_cpu_read(tasklet_hi_vec.head); in tasklet_hi_action()
503 *__this_cpu_read(tasklet_hi_vec.tail) = t; in tasklet_hi_action()
821 *__this_cpu_read(tasklet_vec.tail) = per_cpu(tasklet_vec, cpu).head; in takeover_tasklets()
829 *__this_cpu_read(tasklet_hi_vec.tail) = per_cpu(tasklet_hi_vec, cpu).head; in takeover_tasklets()
/linux-3.4.99/kernel/time/
Dtick-oneshot.c29 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event()
39 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot()
100 ret = __this_cpu_read(tick_cpu_device.mode) == TICKDEV_MODE_ONESHOT; in tick_oneshot_mode_active()
Dtick-common.c51 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available()
/linux-3.4.99/include/asm-generic/
Dirq_regs.h25 return __this_cpu_read(__irq_regs); in get_irq_regs()
32 old_regs = __this_cpu_read(__irq_regs); in set_irq_regs()
/linux-3.4.99/arch/x86/oprofile/
Dop_model_ppro.c87 __this_cpu_read(cpu_info.x86) == 6 && in ppro_setup_ctrs()
88 __this_cpu_read(cpu_info.x86_model) == 15)) { in ppro_setup_ctrs()
215 if (eax.split.version_id == 0 && __this_cpu_read(cpu_info.x86) == 6 && in arch_perfmon_setup_counters()
216 __this_cpu_read(cpu_info.x86_model) == 15) { in arch_perfmon_setup_counters()
/linux-3.4.99/arch/x86/kernel/
Dhw_breakpoint.c400 set_debugreg(__this_cpu_read(cpu_debugreg[0]), 0); in hw_breakpoint_restore()
401 set_debugreg(__this_cpu_read(cpu_debugreg[1]), 1); in hw_breakpoint_restore()
402 set_debugreg(__this_cpu_read(cpu_debugreg[2]), 2); in hw_breakpoint_restore()
403 set_debugreg(__this_cpu_read(cpu_debugreg[3]), 3); in hw_breakpoint_restore()
405 set_debugreg(__this_cpu_read(cpu_dr7), 7); in hw_breakpoint_restore()
Dirq.c188 irq = __this_cpu_read(vector_irq[vector]); in do_IRQ()
312 if (__this_cpu_read(vector_irq[vector]) < 0) in fixup_irqs()
317 irq = __this_cpu_read(vector_irq[vector]); in fixup_irqs()
Dirq_32.c87 irqctx = __this_cpu_read(hardirq_ctx); in execute_on_irq_stack()
166 irqctx = __this_cpu_read(softirq_ctx); in do_softirq()
Dftrace.c175 if (!__this_cpu_read(save_modifying_code)) in ftrace_nmi_enter()
189 if (!__this_cpu_read(save_modifying_code)) in ftrace_nmi_exit()
Dnmi.c327 if (regs->ip == __this_cpu_read(last_nmi_rip)) in default_do_nmi()
402 if (b2b && __this_cpu_read(swallow_nmi)) in default_do_nmi()
Dsmpboot.c358 if (__this_cpu_read(cpu_info.x86_max_cores) == 1) { in set_cpu_sibling_map()
1348 if (__this_cpu_read(cpu_info.cpuid_level) < CPUID_MWAIT_LEAF) in mwait_play_dead()
1399 if (__this_cpu_read(cpu_info.x86) >= 4) in hlt_play_dead()
/linux-3.4.99/include/linux/
Dpercpu.h454 ret__ = __this_cpu_read(pcp); \
483 ret__ = __this_cpu_read(pcp); \
511 ret__ = __this_cpu_read(pcp); \
589 #ifndef __this_cpu_read
602 # define __this_cpu_read(pcp) __pcpu_size_call_return(__this_cpu_read_, (pcp)) macro
705 __this_cpu_read(pcp); \
731 ret__ = __this_cpu_read(pcp); \
756 ret__ = __this_cpu_read(pcp); \
782 if (__this_cpu_read(pcp1) == (oval1) && \
783 __this_cpu_read(pcp2) == (oval2)) { \
Dtopology.h228 return __this_cpu_read(numa_node); in numa_node_id()
285 return __this_cpu_read(_numa_mem_); in numa_mem_id()
Dhighmem.h103 return __this_cpu_read(__kmap_atomic_idx) - 1; in kmap_atomic_idx()
Dkprobes.h309 return (__this_cpu_read(current_kprobe)); in kprobe_running()
/linux-3.4.99/include/trace/events/
Dmodule.h81 __entry->refcnt = __this_cpu_read(mod->refptr->incs) - __this_cpu_read(mod->refptr->decs);
/linux-3.4.99/arch/x86/include/asm/
Ddebugreg.h164 return __this_cpu_read(cpu_dr7) & DR_GLOBAL_ENABLE_MASK; in hw_breakpoint_active()
/linux-3.4.99/drivers/cpuidle/
Dcpuidle.c81 struct cpuidle_device *dev = __this_cpu_read(cpuidle_devices); in cpuidle_play_dead()
113 struct cpuidle_device *dev = __this_cpu_read(cpuidle_devices); in cpuidle_idle_call()
/linux-3.4.99/arch/x86/xen/
Dspinlock.c179 prev = __this_cpu_read(lock_spinners); in spinning_lock()
204 int irq = __this_cpu_read(lock_kicker_irq); in xen_spin_lock_slow()
/linux-3.4.99/mm/
Dvmstat.c219 x = delta + __this_cpu_read(*p); in __mod_zone_page_state()
221 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
261 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
283 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
/linux-3.4.99/arch/sparc/kernel/
Dnmi.c121 if (__this_cpu_read(alert_counter) == 30 * nmi_hz) in perfctr_irq()
/linux-3.4.99/lib/
Dpercpu_counter.c79 count = __this_cpu_read(*fbc->counters) + amount; in __percpu_counter_add()
/linux-3.4.99/drivers/xen/
Devents.c384 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in unmask_evtchn()
1264 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in __xen_evtchn_do_upcall()
1294 start_word_idx = __this_cpu_read(current_word_idx); in __xen_evtchn_do_upcall()
1295 start_bit_idx = __this_cpu_read(current_bit_idx); in __xen_evtchn_do_upcall()
1366 count = __this_cpu_read(xed_nesting_count); in __xen_evtchn_do_upcall()
/linux-3.4.99/drivers/acpi/
Dprocessor_idle.c749 pr = __this_cpu_read(processors); in acpi_idle_enter_c1()
818 pr = __this_cpu_read(processors); in acpi_idle_enter_simple()
898 pr = __this_cpu_read(processors); in acpi_idle_enter_bm()

123