Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/include/asm/
Dmmu_context.h93 #define cpu_asid(cpu, mm) \ macro
148 write_c0_entryhi(cpu_asid(cpu, next)); in switch_mm()
189 write_c0_entryhi(cpu_asid(cpu, next)); in activate_mm()
214 write_c0_entryhi(cpu_asid(cpu, mm)); in drop_mmu_context()
/Linux-v4.19/arch/sh/include/asm/
Dmmu_context.h43 #define cpu_asid(cpu, mm) \ macro
118 set_asid(cpu_asid(cpu, mm)); in activate_context()
144 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; }) macro
/Linux-v4.19/arch/sh/mm/
Dtlbflush_32.c24 asid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page()
59 asid = cpu_asid(cpu, mm); in local_flush_tlb_range()
92 asid = cpu_asid(cpu, &init_mm); in local_flush_tlb_kernel_range()
Dasids-debugfs.c43 cpu_asid(smp_processor_id(), p->mm)); in asids_seq_show()
Dtlbflush_64.c97 match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID; in local_flush_tlb_range()
Dcache-sh5.c113 vma_asid = cpu_asid(cpu, vma->vm_mm); in sh64_icache_inv_user_page()
164 mm_asid = cpu_asid(smp_processor_id(), mm); in sh64_icache_inv_user_page_range()
/Linux-v4.19/arch/mips/mm/
Dtlb-r8k.c83 newpid = cpu_asid(cpu, mm); in local_flush_tlb_range()
158 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page()
Dtlb-r4k.c141 int newpid = cpu_asid(cpu, mm); in local_flush_tlb_range()
226 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page()
/Linux-v4.19/arch/mips/kernel/
Dpm.c49 write_c0_entryhi(cpu_asid(cpu, current->mm)); in mips_cpu_restore()
/Linux-v4.19/arch/mips/kvm/
Dtlb.c51 return cpu_asid(smp_processor_id(), gpa_mm); in kvm_mips_get_root_asid()
60 return cpu_asid(cpu, kern_mm); in kvm_mips_get_kernel_asid()
68 return cpu_asid(cpu, user_mm); in kvm_mips_get_user_asid()
Dtrap_emul.c1062 write_c0_entryhi(cpu_asid(cpu, mm)); in kvm_trap_emul_vcpu_load()
1080 write_c0_entryhi(cpu_asid(cpu, current->mm)); in kvm_trap_emul_vcpu_put()
1118 write_c0_entryhi(cpu_asid(cpu, mm)); in kvm_trap_emul_check_requests()
1272 write_c0_entryhi(cpu_asid(cpu, current->mm)); in kvm_trap_emul_vcpu_run()