Searched refs:asid_cache (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/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-v4.19/arch/mips/include/asm/ |
D | mmu_context.h | 92 #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()
|
D | cpu-info.h | 53 unsigned long asid_cache; member
|
/Linux-v4.19/arch/arc/include/asm/ |
D | mmu_context.h | 54 DECLARE_PER_CPU(unsigned int, asid_cache); 55 #define asid_cpu(cpu) per_cpu(asid_cache, cpu)
|
/Linux-v4.19/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-v4.19/arch/sh/kernel/cpu/ |
D | init.c | 345 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()
|
/Linux-v4.19/arch/xtensa/mm/ |
D | fault.c | 25 DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
|
/Linux-v4.19/arch/mips/kvm/ |
D | trap_emul.c | 1059 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()
|
D | vz.c | 2458 || (cpu_context(cpu, gpa_mm) ^ asid_cache(cpu)) & in kvm_vz_vcpu_load_tlb()
|
/Linux-v4.19/arch/arc/mm/ |
D | tlb.c | 105 DEFINE_PER_CPU(unsigned int, asid_cache) = MM_CTXT_FIRST_CYCLE;
|
/Linux-v4.19/arch/mips/kernel/ |
D | traps.c | 2196 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()
|