Lines Matching full:generation
142 * (i.e. the same ASID in the current generation) but we can't in check_update_reserved_asid()
146 * generation. in check_update_reserved_asid()
162 u64 generation = atomic64_read(&asid_generation); in new_context() local
165 u64 newasid = generation | (asid & ~ASID_MASK); in new_context()
177 * update the generation into the reserved_asids. in new_context()
201 /* We're out of ASIDs, so increment the global generation count */ in new_context()
202 generation = atomic64_add_return_relaxed(ASID_FIRST_VERSION, in new_context()
212 return idx2asid(asid) | generation; in new_context()
229 * generation, then we update the active_asids entry with a relaxed in check_and_switch_context()
234 * we are forced to see the updated generation. in check_and_switch_context()
247 /* Check that our ASID belongs to the current generation. */ in check_and_switch_context()