Lines Matching refs:task_ctx
486 if (ctx->task && cpuctx->task_ctx != ctx)
582 if (ctx->task && cpuctx->task_ctx != ctx)
805 if (ctx->task && cpuctx->task_ctx != ctx) {
806 if (cpuctx->task_ctx || ctx->task != current)
808 cpuctx->task_ctx = ctx;
955 if (ctx->task && cpuctx->task_ctx != ctx) {
956 if (cpuctx->task_ctx || ctx->task != current)
958 cpuctx->task_ctx = ctx;
1234 if (likely(!ctx || !cpuctx->task_ctx))
1269 cpuctx->task_ctx = NULL;
1278 if (!cpuctx->task_ctx)
1281 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx))
1285 cpuctx->task_ctx = NULL;
1401 if (cpuctx->task_ctx == ctx)
1404 cpuctx->task_ctx = ctx;
1425 if (cpuctx->task_ctx == ctx)
1441 cpuctx->task_ctx = ctx;
1746 if (ctx->task && cpuctx->task_ctx != ctx)
3518 struct perf_event_context *task_ctx;
3584 struct perf_event_context *ctx = task_event->task_ctx;
3598 struct perf_event_context *task_ctx,
3610 .task_ctx = task_ctx,