Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/include/asm-arm/proc-armv/
Dcache.h41 if ((_mm) == current->active_mm) \
47 if ((_mm) == current->active_mm) \
54 if ((_vma)->vm_mm == current->active_mm) { \
208 if ((_mm) == current->active_mm) \
219 if ((_mm) == current->active_mm) \
228 if ((_vma)->vm_mm == current->active_mm) \
/linux-2.4.37.9/include/asm-arm/proc-armo/
Dcache.h58 processor._set_pgd(current->active_mm->pgd); in memc_update_all()
65 if (mm == current->active_mm) in memc_update_mm()
74 if (mm == current->active_mm) in memc_clear()
83 if (mm == current->active_mm) in memc_update_addr()
/linux-2.4.37.9/include/asm-x86_64/
Dpgalloc.h163 if (mm == current->active_mm) in flush_tlb_mm()
170 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
177 if (mm == current->active_mm) in flush_tlb_range()
205 struct mm_struct *active_mm; member
Dmmu_context.h48 cpu_tlbstate[cpu].active_mm = next; in switch_mm()
59 if(cpu_tlbstate[cpu].active_mm != next) in switch_mm()
/linux-2.4.37.9/include/asm-i386/
Dpgalloc.h183 if (mm == current->active_mm) in flush_tlb_mm()
190 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
197 if (mm == current->active_mm) in flush_tlb_range()
225 struct mm_struct *active_mm; member
Dmmu_context.h37 cpu_tlbstate[cpu].active_mm = next; in switch_mm()
51 if(cpu_tlbstate[cpu].active_mm != next) in switch_mm()
/linux-2.4.37.9/include/asm-sparc/
Dmmu_context.h34 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL, smp_processor_id()) argument
/linux-2.4.37.9/arch/x86_64/kernel/
Dsmp.c229 clear_bit(cpu, &cpu_tlbstate[cpu].active_mm->cpu_vm_mask); in leave_mm()
296 if (flush_mm == cpu_tlbstate[cpu].active_mm) { in smp_invalidate_interrupt()
367 if (current->active_mm == mm) { in flush_tlb_mm()
382 if (current->active_mm == mm) { in flush_tlb_page()
Dsuspend.c155 load_LDT(current->active_mm); /* This does lldt */ in fix_processor_context()
/linux-2.4.37.9/include/asm-alpha/
Dpgalloc.h86 if (current->active_mm == mm) in flush_icache_user_range()
154 flush_tlb_current(current->active_mm); in flush_tlb()
184 if (mm == current->active_mm) in flush_tlb_mm()
203 if (mm == current->active_mm) in flush_tlb_page()
/linux-2.4.37.9/kernel/
Dexit.c291 struct mm_struct *active_mm = current->active_mm; in end_lazy_tlb() local
294 if (mm != active_mm) { in end_lazy_tlb()
295 current->active_mm = mm; in end_lazy_tlb()
296 activate_mm(active_mm, mm); in end_lazy_tlb()
298 mmdrop(active_mm); in end_lazy_tlb()
312 BUG_ON(mm != tsk->active_mm); in __exit_mm()
Dsched.c202 return goodness(p, cpu, prev->active_mm) - goodness(prev, cpu, prev->active_mm); in preemption_goodness()
557 BUG_ON(!current->active_mm); in schedule()
609 int weight = goodness(p, this_cpu, prev->active_mm); in schedule()
674 struct mm_struct *oldmm = prev->active_mm; in schedule()
676 BUG_ON(next->active_mm); in schedule()
677 next->active_mm = oldmm; in schedule()
681 BUG_ON(next->active_mm != mm); in schedule()
686 prev->active_mm = NULL; in schedule()
Dfork.c328 tsk->active_mm = NULL; in copy_mm()
372 tsk->active_mm = mm; in copy_mm()
834 if (p->active_mm) in do_fork()
835 mmdrop(p->active_mm); in do_fork()
/linux-2.4.37.9/arch/i386/kernel/
Dsmp.c311 clear_bit(cpu, &cpu_tlbstate[cpu].active_mm->cpu_vm_mask); in leave_mm()
376 if (flush_mm == cpu_tlbstate[cpu].active_mm) { in smp_invalidate_interrupt()
447 if (current->active_mm == mm) { in flush_tlb_mm()
462 if (current->active_mm == mm) { in flush_tlb_page()
Dldt.c25 if (current->active_mm) in flush_ldt()
26 load_LDT(&current->active_mm->context); in flush_ldt()
/linux-2.4.37.9/include/asm-m68k/
Dmotorola_pgalloc.h234 if (mm == current->active_mm) in flush_tlb_mm()
240 if (vma->vm_mm == current->active_mm) { in flush_tlb_page()
251 if (mm == current->active_mm) in flush_tlb_range()
/linux-2.4.37.9/arch/alpha/kernel/
Dsmp.c225 current->active_mm = &init_mm; in smp_callin()
575 current->active_mm = &init_mm; in smp_boot_cpus()
958 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_mm()
967 if (mm == current->active_mm) { in flush_tlb_mm()
999 if (mm == current->active_mm && !asn_locked()) in ipi_flush_tlb_page()
1011 if (mm == current->active_mm) { in flush_tlb_page()
1046 if (mm == current->active_mm && !asn_locked()) in ipi_flush_icache_page()
1061 if (mm == current->active_mm) { in flush_icache_user_range()
/linux-2.4.37.9/include/asm-ppc64/
Dmmu_context.h150 #define activate_mm(active_mm, mm) \ argument
151 switch_mm(active_mm, mm, current, smp_processor_id());
/linux-2.4.37.9/include/asm-ia64/
Dpgalloc.h173 if (mm == current->active_mm) in local_flush_tlb_mm()
211 if (vma->vm_mm == current->active_mm) in flush_tlb_page()
/linux-2.4.37.9/fs/
Dexec.c445 struct mm_struct *active_mm; in exec_mmap() local
459 active_mm = current->active_mm; in exec_mmap()
461 current->active_mm = mm; in exec_mmap()
463 activate_mm(active_mm, mm); in exec_mmap()
466 if (active_mm != old_mm) BUG(); in exec_mmap()
470 mmdrop(active_mm); in exec_mmap()
/linux-2.4.37.9/arch/mips64/mm/
Dtlb-dbg-r4k.c38 pgd = pgd_offset(current->active_mm, addr); in xtlb_refill_debug()
/linux-2.4.37.9/arch/sparc/mm/
Dfault.c148 (tsk->mm ? tsk->mm->context : tsk->active_mm->context)); in unhandled_fault()
151 (unsigned long) tsk->active_mm->pgd)); in unhandled_fault()
398 pgd = tsk->active_mm->pgd + offset; in do_sparc_fault()
/linux-2.4.37.9/include/asm-ppc/
Dmmu_context.h167 static inline void activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) in activate_mm() argument
/linux-2.4.37.9/arch/arm/kernel/
Decard.c284 struct mm_struct *active_mm = current->active_mm; in ecard_init_mm() local
290 current->active_mm = mm; in ecard_init_mm()
291 activate_mm(active_mm, mm); in ecard_init_mm()
292 mmdrop(active_mm); in ecard_init_mm()
/linux-2.4.37.9/arch/sparc/kernel/
Dunaligned.c356 current->active_mm->context)); in kernel_mna_trap_fault()
359 (unsigned long) current->active_mm->pgd)); in kernel_mna_trap_fault()

123