Home
last modified time | relevance | path

Searched refs:context_tracking (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/
Dcontext_tracking.c31 DEFINE_PER_CPU(struct context_tracking, context_tracking);
32 EXPORT_SYMBOL_GPL(context_tracking);
38 recursion = __this_cpu_inc_return(context_tracking.recursion); in context_tracking_recursion_enter()
43 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_enter()
50 __this_cpu_dec(context_tracking.recursion); in context_tracking_recursion_exit()
70 if ( __this_cpu_read(context_tracking.state) != state) { in __context_tracking_enter()
71 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_enter()
100 __this_cpu_write(context_tracking.state, state); in __context_tracking_enter()
151 if (__this_cpu_read(context_tracking.state) == state) { in __context_tracking_exit()
152 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_exit()
[all …]
DMakefile122 obj-$(CONFIG_CONTEXT_TRACKING) += context_tracking.o
/kernel/linux/linux-5.10/include/linux/
Dcontext_tracking_state.h8 struct context_tracking { struct
27 DECLARE_PER_CPU(struct context_tracking, context_tracking); argument
36 return context_tracking_enabled() && per_cpu(context_tracking.active, cpu); in context_tracking_enabled_cpu()
41 return context_tracking_enabled() && __this_cpu_read(context_tracking.active); in context_tracking_enabled_this_cpu()
46 return __this_cpu_read(context_tracking.state) == CONTEXT_USER; in context_tracking_in_user()
Dcontext_tracking.h57 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()
83 this_cpu_read(context_tracking.state) : CONTEXT_DISABLED; in ct_state()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dentry.S26 .macro context_tracking macro
124 context_tracking
150 context_tracking
303 context_tracking
338 context_tracking
/kernel/linux/linux-5.10/include/trace/events/
Dcontext_tracking.h3 #define TRACE_SYSTEM context_tracking