/linux-2.4.37.9/include/asm-arm/proc-armv/ |
D | cache.h | 41 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/ |
D | cache.h | 58 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/ |
D | pgalloc.h | 163 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
|
D | mmu_context.h | 48 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/ |
D | pgalloc.h | 183 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
|
D | mmu_context.h | 37 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/ |
D | mmu_context.h | 34 #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/ |
D | smp.c | 229 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()
|
D | suspend.c | 155 load_LDT(current->active_mm); /* This does lldt */ in fix_processor_context()
|
/linux-2.4.37.9/include/asm-alpha/ |
D | pgalloc.h | 86 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/ |
D | exit.c | 291 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()
|
D | sched.c | 202 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()
|
D | fork.c | 328 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/ |
D | smp.c | 311 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()
|
D | ldt.c | 25 if (current->active_mm) in flush_ldt() 26 load_LDT(¤t->active_mm->context); in flush_ldt()
|
/linux-2.4.37.9/include/asm-m68k/ |
D | motorola_pgalloc.h | 234 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/ |
D | smp.c | 225 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/ |
D | mmu_context.h | 150 #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/ |
D | pgalloc.h | 173 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/ |
D | exec.c | 445 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/ |
D | tlb-dbg-r4k.c | 38 pgd = pgd_offset(current->active_mm, addr); in xtlb_refill_debug()
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | fault.c | 148 (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/ |
D | mmu_context.h | 167 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/ |
D | ecard.c | 284 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/ |
D | unaligned.c | 356 current->active_mm->context)); in kernel_mna_trap_fault() 359 (unsigned long) current->active_mm->pgd)); in kernel_mna_trap_fault()
|