Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dcontext_tracking.h53 enum ctx_state prev_ctx; in exception_enter() local
59 prev_ctx = __ct_state(); in exception_enter()
60 if (prev_ctx != CONTEXT_KERNEL) in exception_enter()
61 ct_user_exit(prev_ctx); in exception_enter()
63 return prev_ctx; in exception_enter()
66 static inline void exception_exit(enum ctx_state prev_ctx) in exception_exit() argument
70 if (prev_ctx != CONTEXT_KERNEL) in exception_exit()
71 ct_user_enter(prev_ctx); in exception_exit()
97 static inline void exception_exit(enum ctx_state prev_ctx) { } in exception_exit() argument
/Linux-v6.1/kernel/sched/
Dcore.c6756 enum ctx_state prev_ctx; in preempt_schedule_notrace() local
6782 prev_ctx = exception_enter(); in preempt_schedule_notrace()
6784 exception_exit(prev_ctx); in preempt_schedule_notrace()