Home
last modified time | relevance | path

Searched refs:active_mm (Results 1 – 25 of 88) sorted by relevance

1234

/arch/x86/include/asm/
Dtlbflush.h98 if (mm == current->active_mm) in flush_tlb_mm()
105 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
112 if (vma->vm_mm == current->active_mm) in flush_tlb_range()
153 struct mm_struct *active_mm; member
Dmmu_context_64.h23 write_pda(active_mm, next); in switch_mm()
34 if (read_pda(active_mm) != next) in switch_mm()
Dmmu_context_32.h23 x86_write_percpu(cpu_tlbstate.active_mm, next); in switch_mm()
39 BUG_ON(x86_read_percpu(cpu_tlbstate.active_mm) != next); in switch_mm()
/arch/x86/kernel/
Dtlb_32.c38 cpu_clear(cpu, x86_read_percpu(cpu_tlbstate.active_mm)->cpu_vm_mask); in leave_mm()
106 if (flush_mm == x86_read_percpu(cpu_tlbstate.active_mm)) { in smp_invalidate_interrupt()
200 if (current->active_mm == mm) { in flush_tlb_mm()
221 if (current->active_mm == mm) { in flush_tlb_page()
254 per_cpu(cpu_tlbstate, cpu).active_mm = &init_mm; in reset_lazy_tlbstate()
Dtlb_64.c67 cpu_clear(cpu, read_pda(active_mm)->cpu_vm_mask); in leave_mm()
145 if (f->flush_mm == read_pda(active_mm)) { in smp_invalidate_interrupt()
238 if (current->active_mm == mm) { in flush_tlb_mm()
259 if (current->active_mm == mm) { in flush_tlb_page()
Dldt.c26 if (current->active_mm == current_mm) in flush_ldt()
27 load_LDT(&current->active_mm->context); in flush_ldt()
131 if (mm == current->active_mm) in destroy_context()
/arch/alpha/include/asm/
Dtlbflush.h83 flush_tlb_current(current->active_mm); in flush_tlb()
108 if (mm == current->active_mm) in flush_tlb_mm()
120 if (mm == current->active_mm) in flush_tlb_page()
Dcacheflush.h52 if (current->active_mm == mm) in flush_icache_user_range()
/arch/sparc/include/asm/
Dmmu_context_32.h38 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL) argument
/arch/ia64/mm/
Dtlb.c230 struct mm_struct *active_mm = current->active_mm; in ia64_global_tlb_purge() local
234 if (mm != active_mm) { in ia64_global_tlb_purge()
236 if (mm && active_mm) { in ia64_global_tlb_purge()
259 if (mm != active_mm) { in ia64_global_tlb_purge()
260 activate_context(active_mm); in ia64_global_tlb_purge()
296 if (mm != current->active_mm) { in flush_tlb_range()
312 if (mm != current->active_mm || cpus_weight(mm->cpu_vm_mask) != 1) { in flush_tlb_range()
/arch/ia64/include/asm/
Dtlbflush.h41 if (mm == current->active_mm) in local_finish_flush_tlb_mm()
80 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
/arch/m68k/include/asm/
Dtlbflush_mm.h69 if (mm == current->active_mm) in flush_tlb_mm()
75 if (vma->vm_mm == current->active_mm) { in flush_tlb_page()
86 if (vma->vm_mm == current->active_mm) in flush_tlb_range()
/arch/um/sys-i386/
Dldt.c36 if (!current->active_mm || current->active_mm == &init_mm || in write_ldt_entry()
37 mm_idp != &current->active_mm->context.id) in write_ldt_entry()
82 if (current->active_mm && current->active_mm != &init_mm && in write_ldt_entry()
83 mm_idp != &current->active_mm->context.id) in write_ldt_entry()
84 __switch_mm(&current->active_mm->context.id); in write_ldt_entry()
/arch/alpha/kernel/
Dsmp.c147 current->active_mm = &init_mm; in smp_callin()
167 cpuid, current, current->active_mm)); in smp_callin()
689 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_mm()
700 if (mm == current->active_mm) { in flush_tlb_mm()
735 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_page()
749 if (mm == current->active_mm) { in flush_tlb_page()
788 if (mm == current->active_mm && !asn_locked()) in ipi_flush_icache_page()
805 if (mm == current->active_mm) { in flush_icache_user_range()
/arch/powerpc/kernel/
Dswsusp.c37 switch_mmu_context(NULL, current->active_mm); in restore_processor_state()
/arch/avr32/kernel/
Dasm-offsets.c23 OFFSET(TSK_active_mm, task_struct, active_mm); in foo()
/arch/arm/mm/
Dtlb-v3.S33 act_mm r3 @ get current->active_mm
Dtlb-v4.S34 act_mm r3 @ get current->active_mm
Dtlb-v4wb.S34 act_mm r3 @ get current->active_mm
/arch/x86/xen/
Dmmu.c1064 struct mm_struct *active_mm; in drop_other_mm_ref() local
1067 active_mm = read_pda(active_mm); in drop_other_mm_ref()
1069 active_mm = __get_cpu_var(cpu_tlbstate).active_mm; in drop_other_mm_ref()
1072 if (active_mm == mm) in drop_other_mm_ref()
1088 if (current->active_mm == mm) { in xen_drop_mm_ref()
1125 if (current->active_mm == mm) in xen_drop_mm_ref()
/arch/parisc/include/asm/
Dtlbflush.h57 if (mm == current->active_mm) in flush_tlb_mm()
/arch/sh/mm/
Dtlb-sh3.c39 if (vma && current->active_mm != vma->vm_mm) in update_mmu_cache()
Dtlb-sh4.c26 if (vma && current->active_mm != vma->vm_mm) in update_mmu_cache()
/arch/s390/mm/
Dpgtable.c268 tsk->mm != tsk->active_mm || !hlist_empty(&tsk->mm->ioctx_list)) { in s390_enable_sie()
284 tsk->mm != tsk->active_mm || !hlist_empty(&tsk->mm->ioctx_list)) { in s390_enable_sie()
292 tsk->mm = tsk->active_mm = mm; in s390_enable_sie()
/arch/s390/include/asm/
Dtlbflush.h97 if (atomic_read(&mm->mm_users) <= 1 && mm == current->active_mm) in __tlb_flush_mm_cond()

1234