Home
last modified time | relevance | path

Searched refs:prev_mm (Results 1 – 7 of 7) sorted by relevance

/linux/include/asm-generic/
H A Dmmu_context.h57 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 Dmmu_context.h134 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 Dmmu_context.h214 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 Dswapfile.c2401 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 Dalternative.c2523 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 Dsched.h1204 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 Dcore.c5113 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()