Lines Matching refs:context_tracking
27 struct context_tracking { struct
48 DECLARE_PER_CPU(struct context_tracking, context_tracking); argument
54 return raw_atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_STATE_MASK; in __ct_state()
61 return atomic_read(this_cpu_ptr(&context_tracking.state)) & CT_RCU_WATCHING_MASK; in ct_rcu_watching()
66 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_rcu_watching_cpu()
73 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_rcu_watching_cpu_acquire()
80 return __this_cpu_read(context_tracking.nesting); in ct_nesting()
85 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_nesting_cpu()
92 return __this_cpu_read(context_tracking.nmi_nesting); in ct_nmi_nesting()
97 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in ct_nmi_nesting_cpu()
113 return context_tracking_enabled() && per_cpu(context_tracking.active, cpu); in context_tracking_enabled_cpu()
118 return context_tracking_enabled() && __this_cpu_read(context_tracking.active); in context_tracking_enabled_this_cpu()