Lines Matching refs:new_ctx
675 unsigned long ctx, new_ctx; in get_new_mmu_context() local
682 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context()
684 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
685 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context()
686 if (new_ctx >= ctx) { in get_new_mmu_context()
688 new_ctx = (tlb_context_cache & CTX_VERSION_MASK) + in get_new_mmu_context()
690 if (new_ctx == 1) in get_new_mmu_context()
691 new_ctx = CTX_FIRST_VERSION; in get_new_mmu_context()
710 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
711 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()
713 tlb_context_cache = new_ctx; in get_new_mmu_context()
714 mm->context.sparc64_ctx_val = new_ctx | orig_pgsz_bits; in get_new_mmu_context()