/linux-3.4.99/include/linux/ |
D | khugepaged.h | 25 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument 27 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags)) in khugepaged_fork() 50 static inline int khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument
|
D | ksm.h | 28 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument 30 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) in ksm_fork() 95 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument
|
/linux-3.4.99/kernel/ |
D | fork.c | 313 static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mmap() argument 321 down_write(&oldmm->mmap_sem); in dup_mmap() 322 flush_cache_dup_mm(oldmm); in dup_mmap() 331 mm->free_area_cache = oldmm->mmap_base; in dup_mmap() 339 retval = ksm_fork(mm, oldmm); in dup_mmap() 342 retval = khugepaged_fork(mm, oldmm); in dup_mmap() 347 for (mpnt = oldmm->mmap; mpnt; mpnt = mpnt->vm_next) { in dup_mmap() 361 if (security_vm_enough_memory_mm(oldmm, len)) /* sic */ in dup_mmap() 419 retval = copy_page_range(mm, oldmm, mpnt); in dup_mmap() 428 arch_dup_mmap(oldmm, mm); in dup_mmap() [all …]
|
/linux-3.4.99/arch/s390/include/asm/ |
D | mmu_context.h | 95 static inline void arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument 99 if (oldmm->context.asce_limit < mm->context.asce_limit) in arch_dup_mmap() 100 crst_table_downgrade(mm, oldmm->context.asce_limit); in arch_dup_mmap()
|
/linux-3.4.99/drivers/oprofile/ |
D | buffer_sync.c | 503 struct mm_struct *oldmm; in sync_buffer() local 544 oldmm = mm; in sync_buffer() 545 release_mm(oldmm); in sync_buffer() 547 if (mm != oldmm) in sync_buffer()
|
/linux-3.4.99/include/asm-generic/ |
D | mm_hooks.h | 9 static inline void arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
|
/linux-3.4.99/arch/um/include/asm/ |
D | mmu_context.h | 44 static inline void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
|
/linux-3.4.99/arch/unicore32/include/asm/ |
D | mmu_context.h | 82 static inline void arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
|
/linux-3.4.99/arch/x86/include/asm/ |
D | paravirt.h | 374 static inline void arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument 377 PVOP_VCALL2(pv_mmu_ops.dup_mmap, oldmm, mm); in arch_dup_mmap()
|
D | paravirt_types.h | 243 void (*dup_mmap)(struct mm_struct *oldmm,
|
/linux-3.4.99/kernel/sched/ |
D | core.c | 2052 struct mm_struct *mm, *oldmm; in context_switch() local 2057 oldmm = prev->active_mm; in context_switch() 2066 next->active_mm = oldmm; in context_switch() 2067 atomic_inc(&oldmm->mm_count); in context_switch() 2068 enter_lazy_tlb(oldmm, next); in context_switch() 2070 switch_mm(oldmm, mm, next); in context_switch() 2074 rq->prev_mm = oldmm; in context_switch()
|
/linux-3.4.99/arch/x86/xen/ |
D | mmu.c | 1063 static void xen_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in xen_dup_mmap() argument
|