Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/events/
Dcore.c1144 static DEFINE_PER_CPU(struct list_head, active_ctx_list);
1154 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_ctx_activate()
1158 WARN_ON(!list_empty(&ctx->active_ctx_list)); in perf_event_ctx_activate()
1160 list_add(&ctx->active_ctx_list, head); in perf_event_ctx_activate()
1167 WARN_ON(list_empty(&ctx->active_ctx_list)); in perf_event_ctx_deactivate()
1169 list_del_init(&ctx->active_ctx_list); in perf_event_ctx_deactivate()
3734 struct list_head *head = this_cpu_ptr(&active_ctx_list); in perf_event_task_tick()
3744 list_for_each_entry_safe(ctx, tmp, head, active_ctx_list) in perf_event_task_tick()
4053 INIT_LIST_HEAD(&ctx->active_ctx_list); in __perf_event_init_context()
11570 INIT_LIST_HEAD(&per_cpu(active_ctx_list, cpu)); in perf_event_init_all_cpus()
/Linux-v4.19/include/linux/
Dperf_event.h726 struct list_head active_ctx_list; member