Lines Matching refs:context
81 nv_mm_context_t context = mm->context; in get_mmu_context() local
83 if (likely(context)) in get_mmu_context()
88 context = mm->context; in get_mmu_context()
89 if (context == 0) { in get_mmu_context()
99 mm->context = context = ia64_ctx.next++; in get_mmu_context()
100 __set_bit(context, ia64_ctx.bitmap); in get_mmu_context()
110 return context; in get_mmu_context()
120 mm->context = 0; in init_new_context()
131 reload_context (nv_mm_context_t context) in reload_context() argument
138 rid = context << 3; /* make space for encoding the region number */ in reload_context()
165 nv_mm_context_t context; in activate_context() local
168 context = get_mmu_context(mm); in activate_context()
171 reload_context(context); in activate_context()
176 } while (unlikely(context != mm->context)); in activate_context()