Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/events/
Dcore.c1208 static DEFINE_PER_CPU(struct list_head, active_ctx_list);
1218 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_ctx_activate()
1222 WARN_ON(!list_empty(&ctx->active_ctx_list)); in perf_event_ctx_activate()
1224 list_add(&ctx->active_ctx_list, head); in perf_event_ctx_activate()
1231 WARN_ON(list_empty(&ctx->active_ctx_list)); in perf_event_ctx_deactivate()
1233 list_del_init(&ctx->active_ctx_list); in perf_event_ctx_deactivate()
4110 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_task_tick()
4120 list_for_each_entry_safe(ctx, tmp, head, active_ctx_list) in perf_event_task_tick()
4429 INIT_LIST_HEAD(&ctx->active_ctx_list); in __perf_event_init_context()
12843 INIT_LIST_HEAD(&per_cpu(active_ctx_list, cpu)); in perf_event_init_all_cpus()
/Linux-v5.10/include/linux/
Dperf_event.h807 struct list_head active_ctx_list; member