Lines Matching defs:current_version
27 static atomic_long_t current_version;
45 * (i.e. the same CONTEXT in the current_version) but we can't
99 unsigned long asid, ver = atomic_long_read(¤t_version);
124 * current_version and flush all ASIDs.
130 /* We're out of ASIDs, so increment current_version */
131 ver = atomic_long_add_return_relaxed(num_asids, ¤t_version);
155 * current_version, then we update the active_context entry with a
171 ((cntx & ~asid_mask) == atomic_long_read(¤t_version)) &&
178 /* Check that our ASID belongs to the current_version. */
180 if ((cntx & ~asid_mask) != atomic_long_read(¤t_version)) {
258 atomic_long_set(¤t_version, num_asids);