Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/events/
Dcore.c1145 static DEFINE_PER_CPU(struct list_head, active_ctx_list);
1155 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_ctx_activate()
1159 WARN_ON(!list_empty(&ctx->active_ctx_list)); in perf_event_ctx_activate()
1161 list_add(&ctx->active_ctx_list, head); in perf_event_ctx_activate()
1168 WARN_ON(list_empty(&ctx->active_ctx_list)); in perf_event_ctx_deactivate()
1170 list_del_init(&ctx->active_ctx_list); in perf_event_ctx_deactivate()
3851 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_task_tick()
3861 list_for_each_entry_safe(ctx, tmp, head, active_ctx_list) in perf_event_task_tick()
4170 INIT_LIST_HEAD(&ctx->active_ctx_list); in __perf_event_init_context()
12094 INIT_LIST_HEAD(&per_cpu(active_ctx_list, cpu)); in perf_event_init_all_cpus()
/Linux-v5.4/include/linux/
Dperf_event.h753 struct list_head active_ctx_list; member