Lines Matching defs:current_version
26 static atomic_long_t current_version;
44 * (i.e. the same CONTEXT in the current_version) but we can't
98 unsigned long asid, ver = atomic_long_read(¤t_version);
123 * current_version and flush all ASIDs.
129 /* We're out of ASIDs, so increment current_version */
130 ver = atomic_long_add_return_relaxed(BIT(SATP_ASID_BITS), ¤t_version);
154 * current_version, then we update the active_context entry with a
170 (cntx2version(cntx) == atomic_long_read(¤t_version)) &&
177 /* Check that our ASID belongs to the current_version. */
179 if (cntx2version(cntx) != atomic_long_read(¤t_version)) {
256 atomic_long_set(¤t_version, BIT(SATP_ASID_BITS));