Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/arch/mips/include/asm/
Dmmu_context.h92 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) macro
105 unsigned long asid = asid_cache(cpu); in get_new_mmu_context()
115 cpu_context(cpu, mm) = asid_cache(cpu) = asid; in get_new_mmu_context()
146 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & asid_version_mask(cpu)) in switch_mm()
Dcpu-info.h53 unsigned long asid_cache; member
/Linux-v4.19/arch/arc/include/asm/
Dmmu_context.h54 DECLARE_PER_CPU(unsigned int, asid_cache);
55 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
/Linux-v4.19/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-v4.19/arch/sh/kernel/cpu/
Dinit.c345 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
/Linux-v4.19/arch/xtensa/mm/
Dfault.c25 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
/Linux-v4.19/arch/mips/kvm/
Dtrap_emul.c1059 if ((cpu_context(cpu, mm) ^ asid_cache(cpu)) & in kvm_trap_emul_vcpu_load()
1077 if (((cpu_context(cpu, current->mm) ^ asid_cache(cpu)) & in kvm_trap_emul_vcpu_put()
1231 if ((cpu_context(cpu, mm) ^ asid_cache(cpu)) & in kvm_trap_emul_vcpu_reenter()
1269 if (((cpu_context(cpu, current->mm) ^ asid_cache(cpu)) & in kvm_trap_emul_vcpu_run()
Dvz.c2458 || (cpu_context(cpu, gpa_mm) ^ asid_cache(cpu)) & in kvm_vz_vcpu_load_tlb()
/Linux-v4.19/arch/arc/mm/
Dtlb.c105 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;
/Linux-v4.19/arch/mips/kernel/
Dtraps.c2196 if (!cpu_data[cpu].asid_cache) in per_cpu_trap_init()
2197 cpu_data[cpu].asid_cache = asid_first_version(cpu); in per_cpu_trap_init()