Home
last modified time | relevance | path

Searched refs:asid_cache (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/arch/sh/include/asm/
Dmmu_context.h35 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
59 unsigned long asid = asid_cache(cpu); in get_mmu_context()
90 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_mmu_context()
164 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
165 asid_cache(cpu) = MMU_CONTEXT_FIRST_VERSION; in enable_mmu()
167 set_asid(asid_cache(cpu) & MMU_CONTEXT_ASID_MASK); in enable_mmu()
Dprocessor.h78 unsigned long asid_cache; member
/linux-3.4.99/arch/xtensa/include/asm/
Dmmu_context.h34 extern unsigned long asid_cache;
69 if (! (++asid_cache & ASID_MASK) ) { in __get_new_mmu_context()
71 asid_cache += ASID_USER_FIRST; in __get_new_mmu_context()
73 mm->context = asid_cache; in __get_new_mmu_context()
112 unsigned long asid = asid_cache; in switch_mm()
/linux-3.4.99/arch/score/include/asm/
Dmmu_context.h18 extern unsigned long asid_cache;
49 unsigned long asid = asid_cache + ASID_INC; in get_new_mmu_context()
58 asid_cache = asid; in get_new_mmu_context()
78 if ((next->context ^ asid_cache) & ASID_VERSION_MASK) in switch_mm()
/linux-3.4.99/arch/mips/include/asm/
Dmmu_context.h97 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
115 unsigned long asid = asid_cache(cpu); in get_new_mmu_context()
124 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_new_mmu_context()
164 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) in switch_mm()
Dcpu-info.h43 unsigned int asid_cache; member
/linux-3.4.99/arch/score/mm/
Dtlb-score.c35 unsigned long asid_cache = ASID_FIRST_VERSION; variable
36 EXPORT_SYMBOL(asid_cache);
/linux-3.4.99/arch/xtensa/mm/
Dfault.c24 unsigned long asid_cache = ASID_USER_FIRST; variable
/linux-3.4.99/arch/sh/kernel/cpu/
Dinit.c341 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
/linux-3.4.99/arch/mips/kernel/
Dsmtc.c1333 asid = asid_cache(cpu); in smtc_get_new_mmu_context()
1372 cpu_context(i, mm) = asid_cache(i) = asid; in smtc_get_new_mmu_context()
Dtraps.c1608 if (!cpu_data[cpu].asid_cache) in per_cpu_trap_init()
1609 cpu_data[cpu].asid_cache = ASID_FIRST_VERSION; in per_cpu_trap_init()