Searched refs:old_mm (Results 1 – 4 of 4) sorted by relevance
| /arch/x86/kernel/ |
| A D | ldt.c | 451 int ldt_dup_context(struct mm_struct *old_mm, struct mm_struct *mm) in ldt_dup_context() argument 456 if (!old_mm) in ldt_dup_context() 459 mutex_lock(&old_mm->context.lock); in ldt_dup_context() 460 if (!old_mm->context.ldt) in ldt_dup_context() 463 new_ldt = alloc_ldt_struct(old_mm->context.ldt->nr_entries); in ldt_dup_context() 469 memcpy(new_ldt->entries, old_mm->context.ldt->entries, in ldt_dup_context() 482 mutex_unlock(&old_mm->context.lock); in ldt_dup_context()
|
| /arch/sparc/include/asm/ |
| A D | mmu_context_32.h | 24 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm,
|
| A D | mmu_context_64.h | 80 static inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *ts… in switch_mm() argument
|
| /arch/sparc/mm/ |
| A D | srmmu.c | 408 static inline void alloc_context(struct mm_struct *old_mm, struct mm_struct *mm) in alloc_context() argument 421 if (ctxp->ctx_mm == old_mm) in alloc_context() 464 void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, in switch_mm() argument 471 alloc_context(old_mm, mm); in switch_mm()
|
Completed in 13 milliseconds