Searched refs:cpuctx (Results 1 – 2 of 2) sorted by relevance
164 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock() argument167 raw_spin_lock(&cpuctx->ctx.lock); in perf_ctx_lock()172 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock() argument177 raw_spin_unlock(&cpuctx->ctx.lock); in perf_ctx_unlock()220 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in event_function() local221 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function()226 perf_ctx_lock(cpuctx, task_ctx); in event_function()251 WARN_ON_ONCE(&cpuctx->ctx != ctx); in event_function()254 efs->func(event, cpuctx, ctx, efs->data); in event_function()256 perf_ctx_unlock(cpuctx, task_ctx); in event_function()[all …]
2063 struct perf_cpu_context *cpuctx; in x86_pmu_update_cpu_context() local2068 cpuctx = per_cpu_ptr(pmu->pmu_cpu_context, cpu); in x86_pmu_update_cpu_context()2069 cpuctx->ctx.pmu = pmu; in x86_pmu_update_cpu_context()