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

/linux-master/arch/riscv/mm/
H A Dcontext.c32 static DEFINE_PER_CPU(atomic_long_t, active_context);
73 cntx = atomic_long_xchg_relaxed(&per_cpu(active_context, i), 0);
153 * If our active_context is non-zero and the context matches the
154 * current_version, then we update the active_context entry with a
165 * of active_context as used and next context switch we will
168 old_active_cntx = atomic_long_read(&per_cpu(active_context, cpu));
171 atomic_long_cmpxchg_relaxed(&per_cpu(active_context, cpu),
187 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 281 milliseconds