Searched refs:asid_cache (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/arch/sh/include/asm/ |
D | mmu_context.h | 38 #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()
|
D | processor.h | 80 unsigned long asid_cache; member
|
/Linux-v5.4/arch/mips/mm/ |
D | context.c | 34 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/ |
D | mmu_context.h | 51 DECLARE_PER_CPU(unsigned int, asid_cache); 52 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
|
/Linux-v5.4/arch/xtensa/include/asm/ |
D | mmu_context.h | 34 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/ |
D | mmu_context.h | 123 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
|
D | cpu-info.h | 53 u64 asid_cache; member
|
/Linux-v5.4/arch/csky/include/asm/ |
D | processor.h | 20 unsigned long asid_cache; member
|
/Linux-v5.4/arch/sh/kernel/cpu/ |
D | init.c | 342 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
|
/Linux-v5.4/arch/xtensa/mm/ |
D | fault.c | 25 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
|
/Linux-v5.4/arch/mips/kernel/ |
D | traps.c | 2213 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/ |
D | tlb.c | 102 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;
|