Home
last modified time | relevance | path

Searched refs:CTX_VERSION_MASK (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/sparc/include/asm/
Dmmu_64.h20 #define CTX_VERSION_MASK ((~0UL) << CTX_VERSION_SHIFT) macro
58 (!(((__ctx.sparc64_ctx_val) ^ tlb_context_cache) & CTX_VERSION_MASK))
/Linux-v5.10/arch/sparc/mm/
Dinit_64.c752 unsigned long old_ver = tlb_context_cache & CTX_VERSION_MASK; in mmu_context_wrap()
762 new_ver = (tlb_context_cache & CTX_VERSION_MASK) + CTX_FIRST_VERSION; in mmu_context_wrap()
789 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
790 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
830 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()