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 != CT_STATE_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 != CT_STATE_KERNEL) in exception_exit()71 ct_user_enter(prev_ctx); in exception_exit()99 static inline void exception_exit(enum ctx_state prev_ctx) { } in exception_exit() argument
6938 enum ctx_state prev_ctx; in preempt_schedule_notrace() local6964 prev_ctx = exception_enter(); in preempt_schedule_notrace()6966 exception_exit(prev_ctx); in preempt_schedule_notrace()
3533 static void perf_event_swap_task_ctx_data(struct perf_event_context *prev_ctx, in perf_event_swap_task_ctx_data() argument3538 if (!prev_ctx->nr_task_data) in perf_event_swap_task_ctx_data()3542 &prev_ctx->pmu_ctx_list, &next_ctx->pmu_ctx_list, in perf_event_swap_task_ctx_data()