Home
last modified time | relevance | path

Searched refs:DEFINE_PER_CPU (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/linux-6.6.21/arch/microblaze/kernel/
Dsetup.c38 DEFINE_PER_CPU(unsigned int, KSP); /* Saved kernel stack pointer */
39 DEFINE_PER_CPU(unsigned int, KM); /* Kernel/user mode */
40 DEFINE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */
41 DEFINE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */
42 DEFINE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */
/linux-6.6.21/arch/arm64/kernel/
Dsdei.c38 DEFINE_PER_CPU(unsigned long *, sdei_stack_normal_ptr);
39 DEFINE_PER_CPU(unsigned long *, sdei_stack_critical_ptr);
46 DEFINE_PER_CPU(unsigned long *, sdei_shadow_call_stack_normal_ptr);
47 DEFINE_PER_CPU(unsigned long *, sdei_shadow_call_stack_critical_ptr);
50 DEFINE_PER_CPU(struct sdei_registered_event *, sdei_active_normal_event);
51 DEFINE_PER_CPU(struct sdei_registered_event *, sdei_active_critical_event);
Dirq.c31 DEFINE_PER_CPU(struct nmi_ctx, nmi_contexts);
33 DEFINE_PER_CPU(unsigned long *, irq_stack_ptr);
39 DEFINE_PER_CPU(unsigned long *, irq_shadow_call_stack_ptr);
/linux-6.6.21/kernel/
Dwatchdog_perf.c23 static DEFINE_PER_CPU(struct perf_event *, watchdog_ev);
24 static DEFINE_PER_CPU(struct perf_event *, dead_event);
30 static DEFINE_PER_CPU(ktime_t, last_timestamp);
31 static DEFINE_PER_CPU(unsigned int, nmi_rearmed);
Dwatchdog.c90 static DEFINE_PER_CPU(atomic_t, hrtimer_interrupts);
91 static DEFINE_PER_CPU(int, hrtimer_interrupts_saved);
92 static DEFINE_PER_CPU(bool, watchdog_hardlockup_warned);
93 static DEFINE_PER_CPU(bool, watchdog_hardlockup_touched);
279 static DEFINE_PER_CPU(unsigned long, watchdog_touch_ts);
281 static DEFINE_PER_CPU(unsigned long, watchdog_report_ts);
282 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
283 static DEFINE_PER_CPU(bool, softlockup_touch_sync);
425 static DEFINE_PER_CPU(struct completion, softlockup_completion);
426 static DEFINE_PER_CPU(struct cpu_stop_work, softlockup_stop_work);
Dirq_work.c27 static DEFINE_PER_CPU(struct llist_head, raised_list);
28 static DEFINE_PER_CPU(struct llist_head, lazy_list);
29 static DEFINE_PER_CPU(struct task_struct *, irq_workd);
45 static DEFINE_PER_CPU(struct irq_work, irq_work_wakeup) =
Dsoftirq.c61 DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
84 DEFINE_PER_CPU(int, hardirqs_enabled);
85 DEFINE_PER_CPU(int, hardirq_context);
124 static DEFINE_PER_CPU(struct softirq_ctrl, softirq_ctrl) = {
711 static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec);
712 static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec);
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dthis_cpu_ops.rst72 DEFINE_PER_CPU(int, x);
139 DEFINE_PER_CPU(int, x);
161 DEFINE_PER_CPU(struct s, p);
251 DEFINE_PER_CPU(struct data, datap);
277 DEFINE_PER_CPU(struct test, onecacheline);
/linux-6.6.21/arch/x86/mm/
Dkmsan_shadow.c19 DEFINE_PER_CPU(char[CPU_ENTRY_AREA_SIZE], cpu_entry_area_shadow);
20 DEFINE_PER_CPU(char[CPU_ENTRY_AREA_SIZE], cpu_entry_area_origin);
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dstacktrace.c12 DEFINE_PER_CPU(unsigned long [OVERFLOW_STACK_SIZE/sizeof(long)], overflow_stack)
15 DEFINE_PER_CPU(struct kvm_nvhe_stacktrace_info, kvm_stacktrace_info);
40 DEFINE_PER_CPU(unsigned long [NVHE_STACKTRACE_SIZE/sizeof(long)], pkvm_stacktrace);
Dswitch.c33 DEFINE_PER_CPU(struct kvm_host_data, kvm_host_data);
34 DEFINE_PER_CPU(struct kvm_cpu_context, kvm_hyp_ctxt);
35 DEFINE_PER_CPU(unsigned long, kvm_hyp_vector);
/linux-6.6.21/arch/x86/xen/
Dspinlock.c18 static DEFINE_PER_CPU(int, lock_kicker_irq) = -1;
19 static DEFINE_PER_CPU(char *, irq_name);
20 static DEFINE_PER_CPU(atomic_t, xen_qlock_wait_nest);
Dsmp.c14 static DEFINE_PER_CPU(struct xen_common_irq, xen_resched_irq) = { .irq = -1 };
15 static DEFINE_PER_CPU(struct xen_common_irq, xen_callfunc_irq) = { .irq = -1 };
16 static DEFINE_PER_CPU(struct xen_common_irq, xen_callfuncsingle_irq) = { .irq = -1 };
17 static DEFINE_PER_CPU(struct xen_common_irq, xen_debug_irq) = { .irq = -1 };
/linux-6.6.21/arch/csky/mm/
Dcontext.c14 static DEFINE_PER_CPU(atomic64_t, active_asids);
15 static DEFINE_PER_CPU(u64, reserved_asids);
/linux-6.6.21/arch/sparc/kernel/
Dnmi.c48 static DEFINE_PER_CPU(short, wd_enabled);
51 static DEFINE_PER_CPU(unsigned int, last_irq_sum);
52 static DEFINE_PER_CPU(long, alert_counter);
53 static DEFINE_PER_CPU(int, nmi_touch);
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dintel.c42 static DEFINE_PER_CPU(mce_banks_t, mce_banks_owned);
51 static DEFINE_PER_CPU(int, cmci_backoff_cnt);
71 static DEFINE_PER_CPU(unsigned long, cmci_time_stamp);
72 static DEFINE_PER_CPU(unsigned int, cmci_storm_cnt);
73 static DEFINE_PER_CPU(unsigned int, cmci_storm_state);
/linux-6.6.21/arch/x86/kernel/
Dnmi.c83 static DEFINE_PER_CPU(struct nmi_stats, nmi_stats);
315 static DEFINE_PER_CPU(bool, swallow_nmi);
316 static DEFINE_PER_CPU(unsigned long, last_nmi_rip);
484 static DEFINE_PER_CPU(enum nmi_states, nmi_state);
485 static DEFINE_PER_CPU(unsigned long, nmi_cr2);
486 static DEFINE_PER_CPU(unsigned long, nmi_dr7);
Dcallthunks.c41 DEFINE_PER_CPU(u64, __x86_call_count);
42 DEFINE_PER_CPU(u64, __x86_ret_count);
43 DEFINE_PER_CPU(u64, __x86_stuffs_count);
44 DEFINE_PER_CPU(u64, __x86_ctxsw_count);
/linux-6.6.21/arch/loongarch/kernel/
Dkfpu.c18 static DEFINE_PER_CPU(bool, in_kernel_fpu);
19 static DEFINE_PER_CPU(unsigned int, euen_current);
/linux-6.6.21/arch/sh/kernel/
Dkprobes.c17 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
18 DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
20 static DEFINE_PER_CPU(struct kprobe, saved_current_opcode);
21 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode);
22 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode2);
/linux-6.6.21/arch/mips/kernel/
Dtime.c31 static DEFINE_PER_CPU(unsigned long, pcp_lpj_ref);
32 static DEFINE_PER_CPU(unsigned long, pcp_lpj_ref_freq);
/linux-6.6.21/arch/arm64/kvm/hyp/vhe/
Dswitch.c32 DEFINE_PER_CPU(struct kvm_host_data, kvm_host_data);
33 DEFINE_PER_CPU(struct kvm_cpu_context, kvm_hyp_ctxt);
34 DEFINE_PER_CPU(unsigned long, kvm_hyp_vector);
/linux-6.6.21/lib/
Dpercpu_test.c17 static DEFINE_PER_CPU(long, long_counter);
18 static DEFINE_PER_CPU(unsigned long, ulong_counter);
/linux-6.6.21/arch/mips/sgi-ip27/
Dip27-timer.c43 static DEFINE_PER_CPU(struct clock_event_device, hub_rt_clockevent);
44 static DEFINE_PER_CPU(char [11], hub_rt_name);
/linux-6.6.21/drivers/xen/
Dtime.c23 static DEFINE_PER_CPU(struct vcpu_runstate_info, xen_runstate);
25 static DEFINE_PER_CPU(u64[4], old_runstate_time);

12345678910>>...20