Searched refs:cpuctx (Results 1 – 1 of 1) sorted by relevance
178 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock() argument181 __perf_ctx_lock(&cpuctx->ctx); in perf_ctx_lock()201 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock() argument206 __perf_ctx_unlock(&cpuctx->ctx); in perf_ctx_unlock()257 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); in event_function() local258 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function()263 perf_ctx_lock(cpuctx, task_ctx); in event_function()288 WARN_ON_ONCE(&cpuctx->ctx != ctx); in event_function()291 efs->func(event, cpuctx, ctx, efs->data); in event_function()293 perf_ctx_unlock(cpuctx, task_ctx); in event_function()[all …]