/linux-4.4.14/mm/ |
H A D | mmu_context.c | 22 struct mm_struct *active_mm; use_mm() local 26 active_mm = tsk->active_mm; use_mm() 27 if (active_mm != mm) { use_mm() 29 tsk->active_mm = mm; use_mm() 32 switch_mm(active_mm, mm, tsk); use_mm() 38 if (active_mm != mm) use_mm() 39 mmdrop(active_mm); use_mm() 58 /* active_mm is still 'mm' */ unuse_mm()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | swsusp.c | 36 switch_mmu_context(current->active_mm, current->active_mm); restore_processor_state()
|
H A D | smp.c | 684 current->active_mm = &init_mm; start_secondary()
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | mmu_context_32.h | 31 #define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL)
|
H A D | switch_to_32.h | 60 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next->active_mm)); \
|
H A D | mmu_context_64.h | 136 static inline void activate_mm(struct mm_struct *active_mm, struct mm_struct *mm) activate_mm() argument
|
/linux-4.4.14/arch/sparc/power/ |
H A D | hibernate.c | 36 struct mm_struct *mm = current->active_mm; restore_processor_state()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | asm-offsets.c | 21 OFFSET(TSK_active_mm, task_struct, active_mm); foo()
|
H A D | entry-avr32b.S | 381 /* PTBR mirrors current_thread_info()->task->active_mm->pgd */
|
/linux-4.4.14/arch/x86/mm/ |
H A D | tlb.c | 43 struct mm_struct *active_mm = this_cpu_read(cpu_tlbstate.active_mm); leave_mm() local 46 if (cpumask_test_cpu(cpu, mm_cpumask(active_mm))) { leave_mm() 47 cpumask_clear_cpu(cpu, mm_cpumask(active_mm)); leave_mm() 68 * 1a2) update cpu active_mm 78 * cpu active_mm is correct, cpu0 already handles flush ipis. 107 if (f->flush_mm != this_cpu_read(cpu_tlbstate.active_mm)) flush_tlb_func() 200 if (current->active_mm != mm) { flush_tlb_mm_range() 251 if (current->active_mm == mm) { flush_tlb_page()
|
H A D | init.c | 738 .active_mm = &init_mm,
|
H A D | fault.c | 385 pgd = pgd_offset(current->active_mm, address); vmalloc_fault()
|
/linux-4.4.14/arch/powerpc/mm/ |
H A D | icswx.h | 25 if (mm == current->active_mm) sync_cop() 26 switch_cop(current->active_mm); sync_cop()
|
H A D | icswx.c | 243 if ((acop_copro_type_bit(ct) & current->active_mm->context.acop) != 0) { acop_handle_fault() 244 sync_cop(current->active_mm); acop_handle_fault()
|
H A D | slice.c | 185 if (mm != current->active_mm) slice_flush_segments() 189 get_paca()->context = current->active_mm->context; slice_flush_segments()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | tlbflush.h | 84 flush_tlb_current(current->active_mm); flush_tlb() 109 if (mm == current->active_mm) flush_tlb_mm() 121 if (mm == current->active_mm) flush_tlb_page()
|
H A D | cacheflush.h | 55 if (current->active_mm == mm) flush_icache_user_range()
|
H A D | mmu_context.h | 190 struct mm_struct * mm = current->active_mm; \
|
/linux-4.4.14/arch/hexagon/mm/ |
H A D | vm_tlb.c | 42 if (mm->context.ptbase == current->active_mm->context.ptbase) flush_tlb_range() 71 if (current->active_mm->context.ptbase == mm->context.ptbase) flush_tlb_mm() 82 if (mm->context.ptbase == current->active_mm->context.ptbase) flush_tlb_page()
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | tlbflush.h | 41 if (mm == current->active_mm) local_finish_flush_tlb_mm() 80 if (vma->vm_mm == current->active_mm) flush_tlb_page()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | tlbflush.h | 20 struct mm_struct *active_mm; member in struct:tlb_state 187 if (mm == current->active_mm) flush_tlb_mm() 194 if (vma->vm_mm == current->active_mm) flush_tlb_page() 201 if (vma->vm_mm == current->active_mm) flush_tlb_range() 208 if (mm == current->active_mm) flush_tlb_mm_range() 259 this_cpu_write(cpu_tlbstate.active_mm, &init_mm); reset_lazy_tlbstate()
|
H A D | mmu_context.h | 115 this_cpu_write(cpu_tlbstate.active_mm, next); switch_mm() 177 BUG_ON(this_cpu_read(cpu_tlbstate.active_mm) != next); switch_mm()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | smp.c | 148 current->active_mm = &init_mm; smp_callin() 167 DBGS(("smp_callin: commencing CPU %d current %p active_mm %p\n", smp_callin() 168 cpuid, current, current->active_mm)); smp_callin() 643 if (mm == current->active_mm && !asn_locked()) ipi_flush_tlb_mm() 654 if (mm == current->active_mm) { flush_tlb_mm() 689 if (mm == current->active_mm && !asn_locked()) ipi_flush_tlb_page() 703 if (mm == current->active_mm) { flush_tlb_page() 742 if (mm == current->active_mm && !asn_locked()) ipi_flush_icache_page() 759 if (mm == current->active_mm) { flush_icache_user_range()
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | troubleshoot.c | 88 struct mm_struct *active_mm = current->active_mm; show_faulting_vma() local 93 down_read(&active_mm->mmap_sem); show_faulting_vma() 94 vma = find_vma(active_mm, address); show_faulting_vma() 115 up_read(&active_mm->mmap_sem); show_faulting_vma()
|
H A D | asm-offsets.c | 38 DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm)); main()
|
H A D | smp.c | 126 current->active_mm = mm; start_kernel_secondary()
|
/linux-4.4.14/arch/score/mm/ |
H A D | tlb-score.c | 60 * If mm is currently active_mm, we can't really drop it. Instead, 116 if (mm == current->active_mm) local_flush_tlb_range() 221 if (current->active_mm != vma->vm_mm) __update_tlb()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | tlbflush.h | 80 if (mm == current->active_mm) flush_tlb_mm() 86 if (vma->vm_mm == current->active_mm) { flush_tlb_page() 97 if (vma->vm_mm == current->active_mm) flush_tlb_range()
|
H A D | mmu_context.h | 84 static inline void activate_mm(struct mm_struct *active_mm, activate_mm() argument
|
/linux-4.4.14/arch/ia64/mm/ |
H A D | tlb.c | 243 struct mm_struct *active_mm = current->active_mm; ia64_global_tlb_purge() local 247 if (mm != active_mm) { ia64_global_tlb_purge() 249 if (mm && active_mm) { ia64_global_tlb_purge() 272 if (mm != active_mm) { ia64_global_tlb_purge() 273 activate_context(active_mm); ia64_global_tlb_purge() 309 if (mm != current->active_mm) { flush_tlb_range() 325 if (mm != current->active_mm || cpumask_weight(mm_cpumask(mm)) != 1) { flush_tlb_range()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | processor.c | 41 current->active_mm = &init_mm; cpu_init()
|
/linux-4.4.14/arch/metag/include/asm/ |
H A D | tlbflush.h | 48 if (mm == current->active_mm) flush_tlb_mm()
|
/linux-4.4.14/arch/sparc/mm/ |
H A D | fault_32.c | 49 printk(KERN_ALERT "tsk->{mm,active_mm}->context = %08lx\n", unhandled_fault() 50 (tsk->mm ? tsk->mm->context : tsk->active_mm->context)); unhandled_fault() 51 printk(KERN_ALERT "tsk->{mm,active_mm}->pgd = %08lx\n", unhandled_fault() 53 (unsigned long) tsk->active_mm->pgd)); unhandled_fault() 362 pgd = tsk->active_mm->pgd + offset; do_sparc_fault()
|
H A D | fault_64.c | 64 printk(KERN_ALERT "tsk->{mm,active_mm}->context = %016lx\n", unhandled_fault() 67 CTX_HWBITS(tsk->active_mm->context))); unhandled_fault() 68 printk(KERN_ALERT "tsk->{mm,active_mm}->pgd = %016lx\n", unhandled_fault() 70 (unsigned long) tsk->active_mm->pgd)); unhandled_fault()
|
H A D | srmmu.c | 1660 if (atomic_read(&mm->mm_users) == 1 && current->active_mm == mm) smp_flush_tlb_mm()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | mmu_context.h | 154 * Mark current->active_mm as not "active" anymore. switch_mm() 202 * If mm is currently active_mm, we can't really drop it. Instead,
|
/linux-4.4.14/arch/hexagon/include/asm/ |
H A D | pgalloc.h | 126 current->active_mm->context.generation = kmap_generation; pmd_populate_kernel() 136 ppmd = (pmd_t *)current->active_mm->pgd + pmdindex; pmd_populate_kernel()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | suspend.c | 63 struct mm_struct *mm = current->active_mm; cpu_suspend() 95 * If the current active_mm != &init_mm we entered cpu_suspend cpu_suspend()
|
H A D | asm-offsets.c | 34 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
H A D | efi.c | 353 efi_set_pgd(current->active_mm); efi_virtmap_unload()
|
H A D | smp.c | 144 current->active_mm = mm; secondary_start_kernel()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | unaligned_32.c | 225 printk(KERN_ALERT "current->{mm,active_mm}->context = %08lx\n", kernel_mna_trap_fault() 227 current->active_mm->context)); kernel_mna_trap_fault() 228 printk(KERN_ALERT "current->{mm,active_mm}->pgd = %08lx\n", kernel_mna_trap_fault() 230 (unsigned long) current->active_mm->pgd)); kernel_mna_trap_fault()
|
H A D | sun4m_smp.c | 63 current->active_mm = &init_mm; sun4m_cpu_pre_online()
|
H A D | smp_64.c | 122 current->active_mm = &init_mm; smp_callin() 841 /* It is not valid to test "current->active_mm == mm" here. tsb_sync() 972 mm = current->active_mm; smp_new_mmu_context_version_client() 1033 * that processes tsk->active_mm->cpu_vm_mask does not have the
|
H A D | sun4d_smp.c | 97 current->active_mm = &init_mm; sun4d_cpu_pre_online()
|
H A D | unaligned_64.c | 279 CTX_HWBITS(current->active_mm->context))); kernel_mna_trap_fault() 282 (unsigned long) current->active_mm->pgd)); kernel_mna_trap_fault()
|
H A D | leon_smp.c | 97 current->active_mm = &init_mm; leon_cpu_pre_online()
|
H A D | traps_32.c | 452 current->active_mm = &init_mm; trap_init()
|
H A D | traps_64.c | 2768 current->active_mm = &init_mm; trap_init()
|
/linux-4.4.14/arch/sh/mm/ |
H A D | tlb-pteaex.c | 25 if (vma && current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | tlb-sh3.c | 36 if (vma && current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | tlb-sh4.c | 24 if (vma && current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | cache-sh4.c | 235 if ((vma->vm_mm == current->active_mm)) sh4_flush_cache_page()
|
/linux-4.4.14/arch/openrisc/kernel/ |
H A D | asm-offsets.c | 50 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
/linux-4.4.14/arch/h8300/kernel/ |
H A D | asm-offsets.c | 30 OFFSET(TASK_ACTIVE_MM, task_struct, active_mm); main()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | suspend.c | 19 struct mm_struct *mm = current->active_mm; cpu_suspend()
|
H A D | asm-offsets.c | 61 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
H A D | smp.c | 371 current->active_mm = mm; secondary_start_kernel()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | tlbflush.h | 18 struct mm_struct *active_mm; member in struct:tlb_state
|
H A D | mmu_context.h | 150 per_cpu(cpu_tlbstate, cpu).active_mm = next; switch_mm()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | tlbflush.h | 72 if (mm == current->active_mm) flush_tlb_mm()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | ldt.c | 29 if (current->active_mm != current_mm) flush_ldt() 32 pc = ¤t->active_mm->context; flush_ldt()
|
/linux-4.4.14/arch/xtensa/mm/ |
H A D | tlb.c | 67 if (mm == current->active_mm) { local_flush_tlb_mm() 178 mm = task->active_mm; get_pte_for_vaddr()
|
H A D | fault.c | 207 struct mm_struct *act_mm = current->active_mm; do_page_fault()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | ioremap.c | 176 * Ensure that the active_mm is up to date - we want to unmap_area_sections() 179 if (current->active_mm->context.vmalloc_seq != init_mm.context.vmalloc_seq) unmap_area_sections() 180 __check_vmalloc_seq(current->active_mm); unmap_area_sections()
|
H A D | init.c | 697 set_section_perms(perms, n, true, current->active_mm); 727 current->active_mm); set_kernel_text_rw() 733 current->active_mm); set_kernel_text_ro()
|
H A D | flush.c | 243 struct mm_struct *mm = current->active_mm; __flush_dcache_aliases()
|
H A D | fault.c | 189 struct mm_struct *mm = tsk->active_mm; do_bad_area()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | asm-offsets.c | 39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
/linux-4.4.14/arch/unicore32/mm/ |
H A D | proc-macros.S | 58 * act_mm - get current->active_mm
|
H A D | fault.c | 138 struct mm_struct *mm = tsk->active_mm; do_bad_area()
|
H A D | mmu.c | 459 pgd = current->active_mm->pgd; setup_mm_for_reboot()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | asm-offsets.c | 74 DEFINE(TASK_ACTIVE_MM, offsetof (struct task_struct, active_mm)); main()
|
H A D | smp.c | 140 current->active_mm = mm; secondary_start_kernel()
|
H A D | entry.S | 1536 * to be NULL while tsk->active_mm is nonzero if we faulted on 1538 * active_mm instead to avoid a fault in this handler. See 1541 * (or search Internet on "mm vs. active_mm") 1544 * mm = tsk->active_mm; 1631 /* Even more unlikely case active_mm == 0.
|
/linux-4.4.14/arch/cris/arch-v10/mm/ |
H A D | tlb.c | 160 * we need our own copy of it because current and active_mm switch_mm()
|
/linux-4.4.14/arch/cris/arch-v32/mm/ |
H A D | tlb.c | 193 * copy of it because current and active_mm might be invalid switch_mm()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | tlbflush.h | 91 active = (mm == current->active_mm) ? 1 : 0; __tlb_flush_asce()
|
H A D | pgtable.h | 1015 active = (mm == current->active_mm) ? 1 : 0; ptep_flush_direct() 1032 active = (mm == current->active_mm) ? 1 : 0; ptep_flush_lazy() 1498 active = (mm == current->active_mm) ? 1 : 0; pmdp_flush_direct() 1515 active = (mm == current->active_mm) ? 1 : 0; pmdp_flush_lazy()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 129 static inline void activate_mm(struct mm_struct *active_mm, activate_mm() argument
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | asm-offsets.c | 79 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
/linux-4.4.14/arch/mips/mm/ |
H A D | tlb-r3k.c | 199 if (current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | tlb-r8k.c | 194 if (current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | c-tx39.c | 202 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) { tx39_flush_cache_page()
|
H A D | tlb-r4k.c | 297 if (current->active_mm != vma->vm_mm) __update_tlb()
|
H A D | c-r4k.c | 582 if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) local_r4k_flush_cache_page() 605 if (vaddr && cpu_has_vtag_icache && mm == current->active_mm) { local_r4k_flush_cache_page()
|
/linux-4.4.14/arch/openrisc/mm/ |
H A D | tlb.c | 148 * we need our own copy of it because current and active_mm switch_mm()
|
H A D | fault.c | 302 * Use current_pgd instead of tsk->active_mm->pgd do_page_fault()
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | smp.c | 166 current->active_mm = &init_mm; start_secondary()
|
/linux-4.4.14/include/linux/ |
H A D | init_task.h | 203 .active_mm = &init_mm, \
|
H A D | sched.h | 1444 struct mm_struct *mm, *active_mm; member in struct:task_struct
|
/linux-4.4.14/fs/ |
H A D | exec.c | 846 struct mm_struct *old_mm, *active_mm; exec_mmap() local 868 active_mm = tsk->active_mm; exec_mmap() 870 tsk->active_mm = mm; exec_mmap() 871 activate_mm(active_mm, mm); exec_mmap() 877 BUG_ON(active_mm != old_mm); exec_mmap() 883 mmdrop(active_mm); exec_mmap()
|
/linux-4.4.14/arch/arm/mach-rpc/ |
H A D | ecard.c | 249 struct mm_struct *active_mm = current->active_mm; ecard_init_mm() local 255 current->active_mm = mm; ecard_init_mm() 256 activate_mm(active_mm, mm); ecard_init_mm() 257 mmdrop(active_mm); ecard_init_mm()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | smpboot.c | 164 current->active_mm = &init_mm; start_secondary()
|
/linux-4.4.14/arch/x86/power/ |
H A D | cpu.c | 157 load_mm_ldt(current->active_mm); /* This does lldt */ fix_processor_context()
|
/linux-4.4.14/arch/alpha/mm/ |
H A D | fault.c | 250 pgd = current->active_mm->pgd + index; do_page_fault()
|
/linux-4.4.14/arch/arc/mm/ |
H A D | fault.c | 38 pgd = pgd_offset_fast(current->active_mm, address); handle_kernel_vaddr_fault()
|
H A D | tlbex.S | 147 ; Linux keeps ASID (Address Space ID) in task->active_mm->context.asid
|
H A D | tlb.c | 546 if (current->active_mm != vma->vm_mm) create_tlb()
|
/linux-4.4.14/arch/blackfin/mach-common/ |
H A D | smp.c | 312 current->active_mm = mm; secondary_start_kernel()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | smp.c | 159 current->active_mm = NULL; /* for sanity */ pnv_smp_cpu_kill_self()
|
/linux-4.4.14/arch/score/kernel/ |
H A D | traps.c | 339 current->active_mm = &init_mm; trap_init()
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | smp.c | 185 current->active_mm = mm; start_secondary()
|
/linux-4.4.14/arch/nios2/mm/ |
H A D | cacheflush.c | 75 struct mm_struct *mm = current->active_mm; flush_aliases()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | smp.c | 298 if (likely(mm == current->active_mm && atomic_read(&mm->mm_users) == 1)) smp_flush_tlb_mm()
|
H A D | setup.c | 991 current->active_mm = &init_mm; cpu_init()
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | setup.c | 407 current->active_mm = &init_mm; cpu_init()
|
H A D | smp.c | 458 if (flush_mm == current->active_mm) smp_invalidate_interrupt()
|
/linux-4.4.14/arch/avr32/mm/ |
H A D | tlb.c | 109 if (vma && current->active_mm != vma->vm_mm) update_mmu_cache()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | asm-offsets.c | 29 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); main()
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | processor.h | 173 #define VDSO_BASE ((unsigned long)current->active_mm->context.vdso_base)
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | smp.c | 283 current->active_mm = &init_mm; smp_cpu_init()
|
/linux-4.4.14/arch/cris/mm/ |
H A D | fault.c | 316 * Use current_pgd instead of tsk->active_mm->pgd do_page_fault()
|
/linux-4.4.14/arch/s390/mm/ |
H A D | pgtable.c | 45 if (current->active_mm == mm) { __crst_table_upgrade() 85 if (current->active_mm == mm) { crst_table_downgrade() 98 if (current->active_mm == mm) crst_table_downgrade()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | mmu.c | 1007 struct mm_struct *active_mm; drop_other_mm_ref() local 1009 active_mm = this_cpu_read(cpu_tlbstate.active_mm); drop_other_mm_ref() 1011 if (active_mm == mm && this_cpu_read(cpu_tlbstate.state) != TLBSTATE_OK) drop_other_mm_ref() 1025 if (current->active_mm == mm) { xen_drop_mm_ref() 1061 if (current->active_mm == mm) xen_drop_mm_ref()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | pgtable.h | 39 * (t->mm ? t->mm : t->active_mm)->pgd
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | smp.c | 349 current->active_mm = mm; secondary_start_kernel()
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
H A D | sn2_smp.c | 168 int mymm = (mm == current->active_mm && mm == current->mm); sn2_global_tlb_purge()
|
/linux-4.4.14/arch/m32r/mm/ |
H A D | fault.c | 358 if (vma && current->active_mm != vma->vm_mm) update_mmu_cache()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | common.c | 1407 me->active_mm = &init_mm; cpu_init() 1456 curr->active_mm = &init_mm; cpu_init()
|
H A D | perf_event.c | 2229 ldt = lockless_dereference(current->active_mm->context.ldt); get_segment_base()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | smp.c | 593 current->active_mm = &init_mm; smp_cpu_init() 997 cpumask_clear_cpu(cpu, &mm_cpumask(current->active_mm)); __cpu_disable()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | pmac32-cpufreq.c | 301 switch_mmu_context(NULL, current->active_mm); pmu_set_cpu_speed()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | fault.c | 190 struct mm_struct *mm = tsk->active_mm; do_bad_area()
|
/linux-4.4.14/drivers/macintosh/ |
H A D | via-pmu.c | 1853 switch_mmu_context(NULL, current->active_mm); powerbook_sleep_grackle() 1942 switch_mmu_context(NULL, current->active_mm); powerbook_sleep_Core99()
|
/linux-4.4.14/kernel/ |
H A D | fork.c | 960 tsk->active_mm = NULL; copy_mm() 987 tsk->active_mm = mm; copy_mm()
|
H A D | exit.c | 429 BUG_ON(mm != tsk->active_mm); exit_mm()
|
/linux-4.4.14/kernel/sched/ |
H A D | core.c | 2674 oldmm = prev->active_mm; context_switch() 2683 next->active_mm = oldmm; context_switch() 2690 prev->active_mm = NULL; context_switch() 5178 struct mm_struct *mm = current->active_mm; idle_task_exit()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | traps.c | 2145 current->active_mm = &init_mm; per_cpu_trap_init()
|