Lines Matching full:generation
63 * (i.e. the same ASID in the current generation) but we can't in check_update_reserved_asid()
67 * generation. in check_update_reserved_asid()
84 u64 generation = atomic64_read(&info->generation); in new_context() local
87 u64 newasid = generation | (asid & ~ASID_MASK(info)); in new_context()
115 /* We're out of ASIDs, so increment the global generation count */ in new_context()
116 generation = atomic64_add_return_relaxed(ASID_FIRST_VERSION(info), in new_context()
117 &info->generation); in new_context()
127 return idx2asid(info, asid) | generation; in new_context()
144 /* Check that our ASID belongs to the current generation. */ in asid_new_context()
146 if ((asid ^ atomic64_read(&info->generation)) >> info->bits) { in asid_new_context()
180 atomic64_set(&info->generation, ASID_FIRST_VERSION(info)); in asid_allocator_init()