Lines Matching refs:mc
66 unsigned long mc = ++(*pmc); in allocate_mmu_context() local
68 if (!(mc & MMU_CONTEXT_TLBPID_MASK)) { in allocate_mmu_context()
75 if (!mc) in allocate_mmu_context()
76 *pmc = mc = MMU_CONTEXT_FIRST_VERSION; in allocate_mmu_context()
78 mm_context(mm) = mc; in allocate_mmu_context()
79 return mc; in allocate_mmu_context()
87 unsigned long mc = MMU_NO_CONTEXT, cache; in get_mmu_context() local
91 mc = mm_context(mm); in get_mmu_context()
94 if ((mc ^ cache) & MMU_CONTEXT_VERSION_MASK) in get_mmu_context()
95 mc = allocate_mmu_context(mm); in get_mmu_context()
97 return mc; in get_mmu_context()