Lines Matching defs:ctx2
3659 struct perf_event_context *ctx2)
3662 lockdep_assert_held(&ctx2->lock);
3665 if (ctx1->pin_count || ctx2->pin_count)
3668 /* If ctx1 is the parent of ctx2 */
3669 if (ctx1 == ctx2->parent_ctx && ctx1->generation == ctx2->parent_gen)
3672 /* If ctx2 is the parent of ctx1 */
3673 if (ctx1->parent_ctx == ctx2 && ctx1->parent_gen == ctx2->generation)
3677 * If ctx1 and ctx2 have the same parent; we flatten the parent
3680 if (ctx1->parent_ctx && ctx1->parent_ctx == ctx2->parent_ctx &&
3681 ctx1->parent_gen == ctx2->parent_gen)