Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dcontext_tracking.h53 enum ctx_state prev_ctx; in exception_enter() local
59 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() argument
70 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
/linux-6.6.21/kernel/sched/
Dcore.c6931 enum ctx_state prev_ctx; in preempt_schedule_notrace() local
6957 prev_ctx = exception_enter(); in preempt_schedule_notrace()
6959 exception_exit(prev_ctx); in preempt_schedule_notrace()
/linux-6.6.21/kernel/events/
Dcore.c3451 static void perf_event_swap_task_ctx_data(struct perf_event_context *prev_ctx, in perf_event_swap_task_ctx_data() argument
3456 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()