Searched refs:prev_ctx (Results 1 – 3 of 3) 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
6931 enum ctx_state prev_ctx; in preempt_schedule_notrace() local6957 prev_ctx = exception_enter(); in preempt_schedule_notrace()6959 exception_exit(prev_ctx); in preempt_schedule_notrace()
3451 static void perf_event_swap_task_ctx_data(struct perf_event_context *prev_ctx, in perf_event_swap_task_ctx_data() argument3456 if (!prev_ctx->nr_task_data) in perf_event_swap_task_ctx_data()3460 &prev_ctx->pmu_ctx_list, &next_ctx->pmu_ctx_list, in perf_event_swap_task_ctx_data()