Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dcontext_tracking.h36 enum ctx_state prev_ctx; in exception_enter() local
41 prev_ctx = this_cpu_read(context_tracking.state); in exception_enter()
42 if (prev_ctx != CONTEXT_KERNEL) in exception_enter()
43 context_tracking_exit(prev_ctx); in exception_enter()
45 return prev_ctx; in exception_enter()
48 static inline void exception_exit(enum ctx_state prev_ctx) in exception_exit() argument
51 if (prev_ctx != CONTEXT_KERNEL) in exception_exit()
52 context_tracking_enter(prev_ctx); in exception_exit()
73 static inline void exception_exit(enum ctx_state prev_ctx) { } in exception_exit() argument
/linux-4.4.14/kernel/sched/
Dcore.c3297 enum ctx_state prev_ctx; in preempt_schedule_notrace() local
3309 prev_ctx = exception_enter(); in preempt_schedule_notrace()
3311 exception_exit(prev_ctx); in preempt_schedule_notrace()