Searched refs:oldmm (Results 1 - 9 of 9) sorted by relevance

/linux-master/arch/x86/include/asm/
H 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, argument
94 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) argument
96 mm->context.lam_cr3_mask = oldmm->context.lam_cr3_mask;
97 mm->context.untag_mask = oldmm->context.untag_mask;
124 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) argument
195 static inline void arch_dup_pkeys(struct mm_struct *oldmm, argument
202 /* Duplicate the oldmm pkey state in mm: */
203 mm->context.pkey_allocation_map = oldmm->context.pkey_allocation_map;
204 mm->context.execute_only_pkey = oldmm
208 arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) argument
[all...]
/linux-master/include/linux/
H A Dkhugepaged.h30 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) argument
32 if (test_bit(MMF_VM_HUGEPAGE, &oldmm->flags))
42 static inline void khugepaged_fork(struct mm_struct *mm, struct mm_struct *oldmm) argument
H A Dksm.h46 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) argument
50 if (test_bit(MMF_VM_MERGEABLE, &oldmm->flags)) {
56 if (test_bit(MMF_VM_MERGE_ANY, &oldmm->flags))
105 static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) argument
H A Duprobes.h121 extern void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm);
184 uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) argument
/linux-master/include/asm-generic/
H A Dmm_hooks.h10 static inline int arch_dup_mmap(struct mm_struct *oldmm, argument
/linux-master/arch/powerpc/include/asm/
H A Dmmu_context.h275 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
285 #define arch_dup_pkeys(oldmm, mm)
294 static inline int arch_dup_mmap(struct mm_struct *oldmm,
297 arch_dup_pkeys(oldmm, mm);
/linux-master/arch/powerpc/mm/book3s64/
H A Dpkeys.c461 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm) argument
466 /* Duplicate the oldmm pkey state in mm: */
467 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm);
468 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey;
/linux-master/kernel/
H A Dfork.c613 static void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) argument
617 exe_file = get_mm_exe_file(oldmm);
620 * We depend on the oldmm having properly denied write access to the
629 struct mm_struct *oldmm)
638 if (mmap_write_lock_killable(oldmm)) {
642 flush_cache_dup_mm(oldmm);
643 uprobe_dup_mmap(oldmm, mm);
650 dup_mm_exe_file(mm, oldmm);
652 mm->total_vm = oldmm->total_vm;
653 mm->data_vm = oldmm
628 dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) argument
807 dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) argument
1673 dup_mm(struct task_struct *tsk, struct mm_struct *oldmm) argument
1712 struct mm_struct *mm, *oldmm; local
[all...]
/linux-master/kernel/events/
H A Duprobes.c1567 void uprobe_dup_mmap(struct mm_struct *oldmm, struct mm_struct *newmm) argument
1569 if (test_bit(MMF_HAS_UPROBES, &oldmm->flags)) {

Completed in 197 milliseconds