Lines Matching refs:ctx1
3665 static int context_equiv(struct perf_event_context *ctx1,
3668 lockdep_assert_held(&ctx1->lock);
3672 if (ctx1->pin_count || ctx2->pin_count)
3675 /* If ctx1 is the parent of ctx2 */
3676 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen)
3679 /* If ctx2 is the parent of ctx1 */
3680 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation)
3684 * If ctx1 and ctx2 have the same parent; we flatten the parent
3687 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx &&
3688 ctx1->parent_gen == ctx2->parent_gen)