Home
last modified time | relevance | path

Searched refs:oldmm (Results 1 – 10 of 10) sorted by relevance

/linux/arch/x86/include/asm/
A Dmmu_context.h60 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
65 static inline int ldt_dup_context(struct mm_struct *oldmm, in ldt_dup_context() argument
100 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam() argument
102 mm->context.lam_cr3_mask = oldmm->context.lam_cr3_mask; in dup_lam()
103 mm->context.untag_mask = oldmm->context.untag_mask; in dup_lam()
201 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument
209 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys()
210 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
216 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
218 dup_lam(oldmm, mm); in arch_dup_mmap()
[all …]
/linux/include/linux/
A Dkhugepaged.h31 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument
33 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags)) in khugepaged_fork()
43 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) in khugepaged_fork() argument
A Dksm.h57 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument
60 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) in ksm_fork()
109 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork() argument
A Duprobes.h124 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm);
189 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument
/linux/arch/arm64/include/asm/
A Dmmu_context.h185 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys() argument
189 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map; in arch_dup_pkeys()
192 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap() argument
194 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
/linux/arch/powerpc/include/asm/
A Dmmu_context.h263 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
273 #define arch_dup_pkeys(oldmm, mm) argument
282 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
285 arch_dup_pkeys(oldmm, mm); in arch_dup_mmap()
/linux/kernel/
A Dfork.c642 flush_cache_dup_mm(oldmm); in dup_mmap()
643 uprobe_dup_mmap(oldmm, mm); in dup_mmap()
759 ksm_fork(mm, oldmm); in dup_mmap()
774 flush_tlb_mm(oldmm); in dup_mmap()
775 mmap_write_unlock(oldmm); in dup_mmap()
809 mmap_write_lock(oldmm); in dup_mmap()
811 mmap_write_unlock(oldmm); in dup_mmap()
1716 oldmm = current->mm; in copy_mm()
1717 if (!oldmm) in copy_mm()
1721 mmget(oldmm); in copy_mm()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c461 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_pkeys() argument
467 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm); in arch_dup_pkeys()
468 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey; in arch_dup_pkeys()
/linux/include/asm-generic/
A Dmm_hooks.h10 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap() argument
/linux/kernel/events/
A Duprobes.c1620 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) in uprobe_dup_mmap() argument
1622 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) { in uprobe_dup_mmap()

Completed in 23 milliseconds