/linux/arch/hexagon/mm/ |
A D | vm_tlb.c | 30 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_range() 59 if (current->active_mm->context.ptbase == mm->context.ptbase) in flush_tlb_mm() 70 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_page()
|
/linux/arch/arc/kernel/ |
A D | troubleshoot.c | 80 struct mm_struct *active_mm = current->active_mm; in show_faulting_vma() local 85 mmap_read_lock(active_mm); in show_faulting_vma() 86 vma = vma_lookup(active_mm, address); in show_faulting_vma() 107 mmap_read_unlock(active_mm); in show_faulting_vma()
|
/linux/arch/ia64/mm/ |
A D | tlb.c | 252 struct mm_struct *active_mm = current->active_mm; in ia64_global_tlb_purge() local 256 if (mm != active_mm) { in ia64_global_tlb_purge() 258 if (mm && active_mm) { in ia64_global_tlb_purge() 281 if (mm != active_mm) { in ia64_global_tlb_purge() 282 activate_context(active_mm); in ia64_global_tlb_purge() 319 if (mm != current->active_mm) { in __flush_tlb_range() 335 if (mm != current->active_mm || cpumask_weight(mm_cpumask(mm)) != 1) { in __flush_tlb_range()
|
/linux/arch/alpha/kernel/ |
A D | smp.c | 147 current->active_mm = &init_mm; in smp_callin() 167 cpuid, current, current->active_mm)); in smp_callin() 638 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_mm() 649 if (mm == current->active_mm) { in flush_tlb_mm() 682 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_page() 696 if (mm == current->active_mm) { in flush_tlb_page() 733 if (mm == current->active_mm && !asn_locked()) in ipi_flush_icache_page() 750 if (mm == current->active_mm) { in flush_icache_user_page()
|
/linux/arch/alpha/include/asm/ |
A D | tlbflush.h | 84 flush_tlb_current(current->active_mm); in flush_tlb() 109 if (mm == current->active_mm) in flush_tlb_mm() 121 if (mm == current->active_mm) in flush_tlb_page()
|
A D | cacheflush.h | 43 if (current->active_mm == mm) in flush_icache_user_page()
|
/linux/arch/powerpc/kernel/ |
A D | swsusp.c | 31 switch_mmu_context(current->active_mm, current->active_mm, NULL); in restore_processor_state()
|
/linux/arch/sparc/include/asm/ |
A D | mmu_context_32.h | 28 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL) argument
|
A D | mmu_context_64.h | 138 #define activate_mm(active_mm, mm) switch_mm(active_mm, mm, NULL) argument
|
/linux/Documentation/vm/ |
A D | active_mm.rst | 10 Subject: Re: active_mm 19 > Is there a brief description someplace on how "mm" vs. "active_mm" in 45 "stole" for such an anonymous user. For that, we have "tsk->active_mm", 49 non-NULL) the active_mm obviously always has to be the same as the real 52 For a anonymous process, tsk->mm == NULL, and tsk->active_mm is the
|
/linux/arch/m68k/include/asm/ |
A D | tlbflush.h | 80 if (mm == current->active_mm) in flush_tlb_mm() 86 if (vma->vm_mm == current->active_mm) in flush_tlb_page() 93 if (vma->vm_mm == current->active_mm) in flush_tlb_range()
|
/linux/arch/arm64/include/asm/ |
A D | efi.h | 108 if (mm != current->active_mm) { in efi_set_pgd() 126 update_saved_ttbr0(current, current->active_mm); in efi_set_pgd()
|
/linux/arch/hexagon/include/asm/ |
A D | pgalloc.h | 74 current->active_mm->context.generation = kmap_generation; in pmd_populate_kernel() 84 ppmd = (pmd_t *)current->active_mm->pgd + pmdindex; in pmd_populate_kernel()
|
/linux/drivers/firmware/efi/ |
A D | riscv-runtime.c | 136 switch_mm(current->active_mm, &efi_mm, NULL); in efi_virtmap_load() 141 switch_mm(&efi_mm, current->active_mm, NULL); in efi_virtmap_unload()
|
/linux/arch/ia64/include/asm/ |
A D | tlbflush.h | 67 if (mm == current->active_mm) in local_finish_flush_tlb_mm() 106 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
|
/linux/kernel/ |
A D | kthread.c | 1347 struct mm_struct *active_mm; in kthread_use_mm() local 1356 active_mm = tsk->active_mm; in kthread_use_mm() 1357 if (active_mm != mm) { in kthread_use_mm() 1359 tsk->active_mm = mm; in kthread_use_mm() 1363 switch_mm_irqs_off(active_mm, mm, tsk); in kthread_use_mm() 1379 if (active_mm != mm) in kthread_use_mm() 1380 mmdrop(active_mm); in kthread_use_mm()
|
/linux/arch/sparc/mm/ |
A D | fault_32.c | 51 (tsk->mm ? tsk->mm->context : tsk->active_mm->context)); in unhandled_fault() 54 (unsigned long) tsk->active_mm->pgd)); in unhandled_fault() 282 pgd = tsk->active_mm->pgd + offset; in do_sparc_fault()
|
/linux/arch/sparc/kernel/ |
A D | unaligned_32.c | 229 current->active_mm->context)); in kernel_mna_trap_fault() 232 (unsigned long) current->active_mm->pgd)); in kernel_mna_trap_fault()
|
/linux/arch/sparc/power/ |
A D | hibernate.c | 37 struct mm_struct *mm = current->active_mm; in restore_processor_state()
|
/linux/arch/xtensa/mm/ |
A D | tlb.c | 67 if (mm == current->active_mm) { in local_flush_tlb_mm() 178 mm = task->active_mm; in get_pte_for_vaddr()
|
/linux/arch/arm/mm/ |
A D | tlb-v4.S | 32 act_mm r3 @ get current->active_mm
|
/linux/arch/parisc/include/asm/ |
A D | tlbflush.h | 58 if (mm == current->active_mm) in flush_tlb_mm()
|
/linux/arch/openrisc/kernel/ |
A D | asm-offsets.c | 44 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
|
/linux/arch/sh/mm/ |
A D | tlb-sh3.c | 34 if (vma && current->active_mm != vma->vm_mm) in __update_tlb()
|
/linux/arch/riscv/mm/ |
A D | cacheflush.c | 59 if (mm == current->active_mm && local) { in flush_icache_mm()
|