Lines Matching refs:task_epc
2378 WARN_ON_ONCE(cpc->task_epc && cpc->task_epc != pmu_ctx);
2379 cpc->task_epc = NULL;
3249 WARN_ON_ONCE(cpc->task_epc && cpc->task_epc != pmu_ctx);
3250 cpc->task_epc = NULL;
3632 pmu->sched_task(cpc->task_epc, sched_in);
3725 WARN_ON_ONCE(cpc->task_epc && cpc->task_epc != pmu_ctx);
3726 cpc->task_epc = pmu_ctx;
4267 struct perf_event_pmu_context *cpu_epc, *task_epc = NULL;
4279 task_epc = cpc->task_epc;
4282 task_rotate = task_epc ? task_epc->rotate_necessary : 0;
4291 task_event = ctx_event_to_rotate(task_epc);
4299 if (task_event || (task_epc && cpu_event)) {
4300 update_context_time(task_epc->ctx);
4301 __pmu_ctx_sched_out(task_epc, EVENT_FLEXIBLE);
4312 rotate_ctx(task_epc->ctx, task_event);
4314 if (task_event || (task_epc && cpu_event))
4315 __pmu_ctx_sched_in(task_epc->ctx, pmu);