Searched refs:prev_mm (Results 1 – 7 of 7) sorted by relevance
| /linux/include/asm-generic/ |
| H A D | mmu_context.h | 57 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 60 switch_mm(prev_mm, next_mm, current); in activate_mm()
|
| /linux/arch/alpha/include/asm/ |
| H A D | mmu_context.h | 134 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm() argument 185 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm() argument
|
| /linux/arch/m68k/include/asm/ |
| H A D | mmu_context.h | 214 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 302 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
|
| /linux/mm/ |
| H A D | swapfile.c | 2401 struct mm_struct *prev_mm; in try_to_unuse() local 2418 prev_mm = &init_mm; in try_to_unuse() 2419 mmget(prev_mm); in try_to_unuse() 2431 mmput(prev_mm); in try_to_unuse() 2432 prev_mm = mm; in try_to_unuse() 2435 mmput(prev_mm); in try_to_unuse() 2448 mmput(prev_mm); in try_to_unuse()
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 2523 struct mm_struct *prev_mm; in __text_poke() local 2581 prev_mm = use_temporary_mm(text_poke_mm); in __text_poke() 2602 unuse_temporary_mm(prev_mm); in __text_poke()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 1204 struct mm_struct *prev_mm; member 3713 struct mm_struct *prev_mm, in membarrier_switch_mm() argument 3718 if (prev_mm == next_mm) in membarrier_switch_mm() 3731 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
|
| H A D | core.c | 5113 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 5132 rq->prev_mm = NULL; in finish_task_switch() 5279 rq->prev_mm = prev->active_mm; in context_switch()
|