Lines Matching refs:context
78 nv_mm_context_t context = mm->context; in get_mmu_context() local
80 if (likely(context)) in get_mmu_context()
85 context = mm->context; in get_mmu_context()
86 if (context == 0) { in get_mmu_context()
96 mm->context = context = ia64_ctx.next++; in get_mmu_context()
97 __set_bit(context, ia64_ctx.bitmap); in get_mmu_context()
107 return context; in get_mmu_context()
118 mm->context = 0; in init_new_context()
123 reload_context (nv_mm_context_t context) in reload_context() argument
130 rid = context << 3; /* make space for encoding the region number */ in reload_context()
157 nv_mm_context_t context; in activate_context() local
160 context = get_mmu_context(mm); in activate_context()
163 reload_context(context); in activate_context()
168 } while (unlikely(context != mm->context)); in activate_context()