Lines Matching refs:context_tracking
27 struct context_tracking { struct
48 DECLARE_PER_CPU(struct context_tracking, context_tracking); argument
52 return arch_atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_STATE_MASK; in __ct_state()
59 return atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_DYNTICKS_MASK; in ct_dynticks()
64 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_dynticks_cpu()
71 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_dynticks_cpu_acquire()
78 return __this_cpu_read(context_tracking.dynticks_nesting); in ct_dynticks_nesting()
83 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_dynticks_nesting_cpu()
90 return __this_cpu_read(context_tracking.dynticks_nmi_nesting); in ct_dynticks_nmi_nesting()
95 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_dynticks_nmi_nesting_cpu()
111 return context_tracking_enabled() && per_cpu(context_tracking.active, cpu); in context_tracking_enabled_cpu()
116 return context_tracking_enabled() && __this_cpu_read(context_tracking.active); in context_tracking_enabled_this_cpu()