Lines Matching +full:first +full:- +full:generation
22 #define PID_MASK ((1UL << PID_BITS) - 1)
25 #define VERSION_BITS (32 - PID_BITS)
27 #define VERSION_MASK ((1UL << VERSION_BITS) - 1)
35 /* Value of the first context (version 1, pid 0) */
72 /* If the version wraps we start over with the first generation, we do in get_new_context()
88 * generation then we have it should get a new generation/pid */ in switch_mm()
89 if (unlikely(CTX_VERSION(next->context) != in switch_mm()
91 next->context = get_new_context(); in switch_mm()
94 pgd_current = next->pgd; in switch_mm()
97 set_context(next->context); in switch_mm()
103 * After we have set current->mm to a new value, this activates
108 next->context = get_new_context(); in activate_mm()
109 set_context(next->context); in activate_mm()
110 pgd_current = next->pgd; in activate_mm()