Lines Matching defs:ctx1
3552 static int context_equiv(struct perf_event_context *ctx1,
3555 lockdep_assert_held(&ctx1->lock);
3559 if (ctx1->pin_count || ctx2->pin_count)
3562 /* If ctx1 is the parent of ctx2 */
3563 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen)
3566 /* If ctx2 is the parent of ctx1 */
3567 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation)
3571 * If ctx1 and ctx2 have the same parent; we flatten the parent
3574 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx &&
3575 ctx1->parent_gen == ctx2->parent_gen)