Lines Matching refs:context
83 nv_mm_context_t context = mm->context; in get_mmu_context() local
85 if (likely(context)) in get_mmu_context()
90 context = mm->context; in get_mmu_context()
91 if (context == 0) { in get_mmu_context()
101 mm->context = context = ia64_ctx.next++; in get_mmu_context()
102 __set_bit(context, ia64_ctx.bitmap); in get_mmu_context()
112 return context; in get_mmu_context()
122 mm->context = 0; in init_new_context()
133 reload_context (nv_mm_context_t context) in reload_context() argument
140 rid = context << 3; /* make space for encoding the region number */ in reload_context()
167 nv_mm_context_t context; in activate_context() local
170 context = get_mmu_context(mm); in activate_context()
173 reload_context(context); in activate_context()
178 } while (unlikely(context != mm->context)); in activate_context()