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 | 2738 struct mm_struct *prev_mm; in try_to_unuse() local 2755 prev_mm = &init_mm; in try_to_unuse() 2756 mmget(prev_mm); in try_to_unuse() 2768 mmput(prev_mm); in try_to_unuse() 2769 prev_mm = mm; in try_to_unuse() 2772 mmput(prev_mm); in try_to_unuse() 2785 mmput(prev_mm); in try_to_unuse()
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 2420 struct mm_struct *prev_mm; in __text_poke() local 2476 prev_mm = use_temporary_mm(text_poke_mm); in __text_poke() 2497 unuse_temporary_mm(prev_mm); in __text_poke()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 1253 struct mm_struct *prev_mm; 3846 struct mm_struct *prev_mm, in membarrier_switch_mm() 3851 if (prev_mm == next_mm) in membarrier_switch_mm() 3864 struct mm_struct *prev_mm, in membarrier_switch_mm() 1254 struct mm_struct *prev_mm; global() member 3847 membarrier_switch_mm(struct rq * rq,struct mm_struct * prev_mm,struct mm_struct * next_mm) membarrier_switch_mm() argument 3865 membarrier_switch_mm(struct rq * rq,struct mm_struct * prev_mm,struct mm_struct * next_mm) membarrier_switch_mm() argument
|
| H A D | core.c | 5345 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 5364 rq->prev_mm = NULL; in finish_task_switch() 5517 rq->prev_mm = prev->active_mm; in context_switch()
|