Lines Matching refs:task_ctx_data
1251 static void free_task_ctx_data(struct pmu *pmu, void *task_ctx_data) in free_task_ctx_data() argument
1253 if (pmu->task_ctx_cache && task_ctx_data) in free_task_ctx_data()
1254 kmem_cache_free(pmu->task_ctx_cache, task_ctx_data); in free_task_ctx_data()
1262 free_task_ctx_data(ctx->pmu, ctx->task_ctx_data); in free_ctx()
3464 swap(ctx->task_ctx_data, next_ctx->task_ctx_data); in perf_event_context_sched_out()
4630 void *task_ctx_data = NULL; in find_get_context() local
4657 task_ctx_data = alloc_task_ctx_data(pmu); in find_get_context()
4658 if (!task_ctx_data) { in find_get_context()
4670 if (task_ctx_data && !ctx->task_ctx_data) { in find_get_context()
4671 ctx->task_ctx_data = task_ctx_data; in find_get_context()
4672 task_ctx_data = NULL; in find_get_context()
4684 if (task_ctx_data) { in find_get_context()
4685 ctx->task_ctx_data = task_ctx_data; in find_get_context()
4686 task_ctx_data = NULL; in find_get_context()
4715 free_task_ctx_data(pmu, task_ctx_data); in find_get_context()
4719 free_task_ctx_data(pmu, task_ctx_data); in find_get_context()
12946 !child_ctx->task_ctx_data) { in inherit_event()
12949 child_ctx->task_ctx_data = alloc_task_ctx_data(pmu); in inherit_event()
12950 if (!child_ctx->task_ctx_data) { in inherit_event()