Lines Matching defs:child_ctx
5073 * child_ctx->mutex.
14274 struct perf_event_context *child_ctx)
14306 get_ctx(child_ctx);
14307 child_event->ctx = child_ctx;
14309 pmu_ctx = find_get_pmu_context(child_event->pmu, child_ctx, child_event);
14363 raw_spin_lock_irqsave(&child_ctx->lock, flags);
14364 add_event_to_ctx(child_event, child_ctx);
14366 raw_spin_unlock_irqrestore(&child_ctx->lock, flags);
14391 struct perf_event_context *child_ctx)
14398 child, NULL, child_ctx);
14408 child, leader, child_ctx);
14438 struct perf_event_context *child_ctx;
14449 child_ctx = child->perf_event_ctxp;
14450 if (!child_ctx) {
14457 child_ctx = alloc_perf_context(child);
14458 if (!child_ctx)
14461 child->perf_event_ctxp = child_ctx;
14464 ret = inherit_group(event, parent, parent_ctx, child, child_ctx);
14476 struct perf_event_context *child_ctx, *parent_ctx;
14538 child_ctx = child->perf_event_ctxp;
14540 if (child_ctx && inherited_all) {
14550 child_ctx->parent_ctx = cloned_ctx;
14551 child_ctx->parent_gen = parent_ctx->parent_gen;
14553 child_ctx->parent_ctx = parent_ctx;
14554 child_ctx->parent_gen = parent_ctx->generation;
14556 get_ctx(child_ctx->parent_ctx);