Home
last modified time | relevance | path

Searched refs:prev_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/include/linux/
Dcontext_tracking.h52 enum ctx_state prev_ctx; in exception_enter() local
58 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()
59 if (prev_ctx != CONTEXT_KERNEL) in exception_enter()
60 context_tracking_exit(prev_ctx); in exception_enter()
62 return prev_ctx; in exception_enter()
65 static inline void exception_exit(enum ctx_state prev_ctx) in exception_exit() argument
69 if (prev_ctx != CONTEXT_KERNEL) in exception_exit()
70 context_tracking_enter(prev_ctx); in exception_exit()
106 static inline void exception_exit(enum ctx_state prev_ctx) { } in exception_exit() argument
/linux-5.19.10/kernel/sched/
Dcore.c6703 enum ctx_state prev_ctx; in preempt_schedule_notrace() local
6729 prev_ctx = exception_enter(); in preempt_schedule_notrace()
6731 exception_exit(prev_ctx); in preempt_schedule_notrace()