Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/arch/sparc/mm/
Dinit_64.c754 unsigned long old_ver = tlb_context_cache & CTX_VERSION_MASK; in mmu_context_wrap()
764 new_ver = (tlb_context_cache & CTX_VERSION_MASK) + CTX_FIRST_VERSION; in mmu_context_wrap()
791 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
792 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
832 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()