Searched refs:active_context (Results 1 - 2 of 2) sorted by relevance

/linux-master/arch/riscv/mm/
H A Dcontext.c33 static DEFINE_PER_CPU(atomic_long_t, active_context);
74 cntx = atomic_long_xchg_relaxed(&per_cpu(active_context, i), 0);
154 * If our active_context is non-zero and the context matches the
155 * current_version, then we update the active_context entry with a
166 * of active_context as used and next context switch we will
169 old_active_cntx = atomic_long_read(&per_cpu(active_context, cpu));
172 atomic_long_cmpxchg_relaxed(&per_cpu(active_context, cpu),
188 atomic_long_set(&per_cpu(active_context, cpu), cntx);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_execlists_submission.c2290 active_context(struct intel_engine_cs *engine, u32 ccid) function
2346 cap->rq = active_context(engine, active_ccid(engine));
3038 rq = active_context(engine, engine->execlists.reset_ccid);

Completed in 115 milliseconds