Lines Matching defs:next_ctx
3620 struct perf_event_context *next_ctx)
3632 next_event = list_first_entry(&next_ctx->event_list,
3636 &next_event->event_entry != &next_ctx->event_list) {
3663 struct perf_event_context *next_ctx;
3671 next_ctx = rcu_dereference(next->perf_event_ctxp);
3672 if (!next_ctx)
3676 next_parent = rcu_dereference(next_ctx->parent_ctx);
3682 if (next_parent == ctx || next_ctx == parent || next_parent == parent) {
3693 raw_spin_lock_nested(&next_ctx->lock, SINGLE_DEPTH_NESTING);
3694 if (context_equiv(ctx, next_ctx)) {
3700 local_read(&next_ctx->nr_no_switch_fast)) {
3710 raw_spin_unlock(&next_ctx->lock);
3716 WRITE_ONCE(next_ctx->task, task);
3729 RCU_INIT_POINTER(task->perf_event_ctxp, next_ctx);
3734 perf_event_sync_stat(ctx, next_ctx);
3736 raw_spin_unlock(&next_ctx->lock);