Searched refs:prev_ctx (Results 1 – 2 of 2) sorted by relevance
53 enum ctx_state prev_ctx; in exception_enter() local59 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() argument70 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
6756 enum ctx_state prev_ctx; in preempt_schedule_notrace() local6782 prev_ctx = exception_enter(); in preempt_schedule_notrace()6784 exception_exit(prev_ctx); in preempt_schedule_notrace()