Home
last modified time | relevance | path

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

/Linux-v5.4/arch/sh/include/asm/
Dmmu_context.h38 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
62 unsigned long asid = asid_cache(cpu); in get_mmu_context()
93 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_mmu_context()
167 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
168 asid_cache(cpu) = MMU_CONTEXT_FIRST_VERSION; in enable_mmu()
170 set_asid(asid_cache(cpu) & MMU_CONTEXT_ASID_MASK); in enable_mmu()
Dprocessor.h80 unsigned long asid_cache; member
/Linux-v5.4/arch/mips/mm/
Dcontext.c34 asid = asid_cache(cpu); in get_new_mmu_context()
43 asid_cache(cpu) = asid; in get_new_mmu_context()
59 if (!asid_versions_eq(cpu, cpu_context(cpu, mm), asid_cache(cpu))) in check_mmu_context()
76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
210 old_active_mmid = READ_ONCE(cpu_data[cpu].asid_cache); in check_switch_mmu_context()
213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) { in check_switch_mmu_context()
220 WRITE_ONCE(cpu_data[cpu].asid_cache, ctx); in check_switch_mmu_context()
/Linux-v5.4/arch/arc/include/asm/
Dmmu_context.h51 DECLARE_PER_CPU(unsigned int, asid_cache);
52 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
/Linux-v5.4/arch/xtensa/include/asm/
Dmmu_context.h34 DECLARE_PER_CPU(unsigned long, asid_cache);
35 #define cpu_asid_cache(cpu) per_cpu(asid_cache, cpu)
/Linux-v5.4/arch/mips/include/asm/
Dmmu_context.h123 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
Dcpu-info.h53 u64 asid_cache; member
/Linux-v5.4/arch/csky/include/asm/
Dprocessor.h20 unsigned long asid_cache; member
/Linux-v5.4/arch/sh/kernel/cpu/
Dinit.c342 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
/Linux-v5.4/arch/xtensa/mm/
Dfault.c25 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
/Linux-v5.4/arch/mips/kernel/
Dtraps.c2213 cpu_data[cpu].asid_cache = 0; in per_cpu_trap_init()
2214 else if (!cpu_data[cpu].asid_cache) in per_cpu_trap_init()
2215 cpu_data[cpu].asid_cache = asid_first_version(cpu); in per_cpu_trap_init()
/Linux-v5.4/arch/arc/mm/
Dtlb.c102 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;