Lines Matching +full:ctx +full:- +full:asid
26 #include <asm-generic/mm_hooks.h>
80 * allow the kernel to create wired entries with the MMID of current->active_mm
92 * as a software asid extension.
98 return ~(u64)(asid_mask | (asid_mask - 1)); in asid_version_mask()
109 return atomic64_read(&mm->context.mmid); in cpu_context()
111 return mm->context.asid[cpu]; in cpu_context()
115 struct mm_struct *mm, u64 ctx) in set_cpu_context() argument
118 atomic64_set(&mm->context.mmid, ctx); in set_cpu_context()
120 mm->context.asid[cpu] = ctx; in set_cpu_context()
148 mm->context.bd_emupage_allocmap = NULL; in init_new_context()
149 spin_lock_init(&mm->context.bd_emupage_lock); in init_new_context()
150 init_waitqueue_head(&mm->context.bd_emupage_queue); in init_new_context()
166 * Mark current->active_mm as not "active" anymore. in switch_mm()
192 u64 ctx; in drop_mmu_context() local
197 ctx = cpu_context(cpu, mm); in drop_mmu_context()
199 if (!ctx) { in drop_mmu_context()
200 /* no-op */ in drop_mmu_context()
207 * are global & other CPUs may be actively using ctx. in drop_mmu_context()
211 write_c0_memorymapid(ctx & cpu_asid_mask(&cpu_data[cpu])); in drop_mmu_context()
221 * Instead we bump the ASID. in drop_mmu_context()
235 #include <asm-generic/mmu_context.h>