Searched refs:prev_ctx (Results 1 – 2 of 2) sorted by relevance
52 enum ctx_state prev_ctx; in exception_enter() local57 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()58 if (prev_ctx != CONTEXT_KERNEL) in exception_enter()59 context_tracking_exit(prev_ctx); in exception_enter()61 return prev_ctx; in exception_enter()64 static inline void exception_exit(enum ctx_state prev_ctx) in exception_exit() argument67 if (prev_ctx != CONTEXT_KERNEL) in exception_exit()68 context_tracking_enter(prev_ctx); in exception_exit()91 static inline void exception_exit(enum ctx_state prev_ctx) { } in exception_exit() argument
4932 enum ctx_state prev_ctx; in preempt_schedule_notrace() local4958 prev_ctx = exception_enter(); in preempt_schedule_notrace()4960 exception_exit(prev_ctx); in preempt_schedule_notrace()